#2F3574#2F3574
#2F3574 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.107 H 275.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3574 |
|---|---|
| RGB | rgb(47, 53, 116) |
| HSL | hsl(235, 42%, 32%) |
| HSV | hsv(235, 59%, 45%) |
| CMYK | cmyk(59.5%, 54.3%, 0%, 54.5%) |
| CIE-LAB | lab(24.99, 17.86, -37.19) |
| CIE-LCH | lch(24.99, 41.25, 295.65°) |
| OKLab | oklab(36.03% 0.0104 -0.1064) |
| OKLCH | oklch(36.03% 0.107 275.6) |
| XYZ | xyz(5.5968, 4.4111, 17.0761) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.70
Marine
#042E60
ΔE00 6.65
Blueberry
#464196
ΔE00 6.74
Marine Blue
#01386A
ΔE00 7.70
Navy Blue
#1B2A4A
ΔE00 8.24
Darkish Blue
#014182
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3574 #746E2F
analogous
#2F5874 #2F3574 #4C2F74
triadic
#2F3574 #742F35 #35742F
tetradic
#2F3574 #742F58 #746E2F #2F744C
square
#2F3574 #742F58 #746E2F #2F744C
split-complementary
#2F3574 #744C2F #58742F
monochromatic
#0C0D1D #1D2148 #2F3574 #4149A0 #5F67BE
Accessibility & contrast
On white
11.16
#2F3574 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F3574 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3574
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3574 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3574 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#043873
Tritanopia (blue-blind)
#06434F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f3574; /* rgb */ color: rgb(47, 53, 116); /* oklch */ color: oklch(36.0% 0.107 275.6);
Tailwind
colors: {
custom: {
50: '#6e6c9c',
500: '#2f3574',
950: '#000000',
},
}SCSS
$custom: #2f3574; $custom-light: #6e6c9c; $custom-dark: #000000;
JSON
{
"hex": "#2f3574",
"rgb": {
"r": 47,
"g": 53,
"b": 116
},
"hsl": {
"h": 234.783,
"s": 42.331,
"l": 31.961
},
"oklch": {
"l": 0.36027,
"c": 0.10688,
"h": 275.6
},
"luminance": 0.04411
}Semantic roles & 50–950 ramp
primary
#2F3574
secondary
#A59F5A
accent
#C756D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E