Moroccan Blue #115674 RGB Color Code
Name from the community color list.
Moroccan Blue (#115674) is a moderately saturated, dark teal. In RGB it is made of 7% red, 34% green and 45% blue (R 17, G 86, B 116). The blue channel is the strongest. In HSL it has a hue of 198Β°, 74% saturation and 26% lightness. Its relative luminance is 0.080, so white text is easier to read on top of it. For print, a rough CMYK match is 85% cyan, 26% magenta, 0% yellow and 55% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.
Moroccan Blue color codes
#115674 in every common color format. Click a value to copy it.
| Format | Value | Copy |
|---|---|---|
| HEX | #115674 | |
| RGB | rgb(17, 86, 116) | |
| HSL | hsl(198, 74%, 26%) | |
| HSV / HSB | hsv(198, 85%, 45%) | |
| HWB | hwb(198 7% 55%) | |
| CMYK | cmyk(85%, 26%, 0%, 55%) | |
| OKLCH | oklch(42.74% 0.081 232.83) | |
| OKLab | oklab(42.74% -0.0489 -0.0646) | |
| CIELAB | lab(33.68% -12.46 -23.42) | |
| CIELCH | lch(33.68% 26.53 241.98) | |
| Display P3 | color(display-p3 0.1565 0.3321 0.444) | |
| XYZ (D65) | color(xyz-d65 0.0671 0.0804 0.1772) | |
| Decimal | 1136244 |
CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0804. Nearest web-safe color: #006666.
Mix Moroccan Blue with other colors
See what #115674 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.
Use Moroccan Blue in your code
Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.
| Where | Code | Copy |
|---|---|---|
| CSS variable | --moroccan-blue: #115674; | |
| Sass variable | $moroccan-blue: #115674; | |
| Tailwind CSS v4 | @theme { --color-moroccan-blue: #115674; } | |
| Tailwind CSS v3 config | colors: { 'moroccan-blue': '#115674' } | |
| SwiftUI | Color(red: 0.067, green: 0.337, blue: 0.455) | |
| UIKit | UIColor(red: 0.067, green: 0.337, blue: 0.455, alpha: 1) | |
| Android XML | <color name="moroccan_blue">#FF115674</color> | |
| Flutter and Jetpack Compose | Color(0xFF115674) |
Accessibility and contrast
White text works best on #115674 (8.05:1, AAA). Here is how #115674 does as a text color:
Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.
How people with color blindness see Moroccan Blue
#115674 next to its complement and its two triadic colors, as seen with each type of color blindness.
- Normal visionhow most people see it
- Protanopiano red cones, about 1% of men
- Deuteranopiano green cones, the most common type
- Tritanopiano blue cones, very rare
- Achromatopsiano color at all, very rare
With deuteranopia, #115674 and #741156 look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.
Moroccan Blue in a user interface
A sample app screen with #115674 as the main color, on a light and a dark theme.
Light theme
Dark theme
Buttons and bars use #115674 as it is. On the dark theme, #115674 is too hard to read as text (2.20:1), so links, the badge and outline text use #4987A7 there (4.49:1). Build a full color scheme around it in the UI color preview.
Color harmonies for Moroccan Blue
These schemes turn the hue of #115674 around the color wheel. Each swatch links to its own page.
Complementary
Two colors on opposite sides of the wheel. This gives the most contrast.
Analogous
Hues that sit next to each other and look good together.
Triadic
Three hues spaced evenly around the wheel. Bold, but still balanced.
Split complementary
A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.
Tetradic (rectangle)
Two pairs of opposite colors. Let one color lead and use the others less.
Square
Four hues 90Β° apart, spread evenly around the wheel.
Monochromatic
One hue at different levels of lightness and saturation.
Gradients with Moroccan Blue
Four CSS gradients made from #115674. Copy the code, or open one in the gradient generator to change it.
Soft tint
From a pale tint to the full color.
background: linear-gradient(90deg, #CFDBE2, #115674);
Deep shade
The color fading into a dark shade.
background: linear-gradient(180deg, #115674, #01121B);
Analogous
Its two neighbors on the color wheel.
background: linear-gradient(135deg, #117461, #115674, #112574);
Triadic
A bold blend with a triadic color, through a clean middle.
background: linear-gradient(135deg, #115674, #563D65, #741156);
Shades, tints and tones of Moroccan Blue
Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.
Design system scale (50 to 950)
Moroccan Blue sits at step 700. Export the full scale as CSS variables or Tailwind tokens from the picker.
Closest RAL, Tailwind and CSS colors
The nearest match to #115674 in three color systems that designers and builders use.
ΞE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.
Colors similar to Moroccan Blue
The named colors that look closest to this one (ΞE in OKLab). Browse all shades of teal or search the color library.
