#2F4487#2F4487
#2F4487 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.115 H 267.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4487 |
|---|---|
| RGB | rgb(47, 68, 135) |
| HSL | hsl(226, 48%, 36%) |
| HSV | hsv(226, 65%, 53%) |
| CMYK | cmyk(65.2%, 49.6%, 0%, 47.1%) |
| CIE-LAB | lab(30.61, 14.61, -40.06) |
| CIE-LCH | lch(30.61, 42.64, 290.03°) |
| OKLab | oklab(40.71% -0.0041 -0.1146) |
| OKLCH | oklch(40.71% 0.115 267.9) |
| XYZ | xyz(7.6111, 6.4872, 23.7680) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.34
Darkish Blue
#014182
ΔE00 4.87
Twilight Blue
#0A437A
ΔE00 5.53
Blueberry
#464196
ΔE00 5.68
Cobalt
#0047AB
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4487 #87722F
analogous
#2F7087 #2F4487 #462F87
triadic
#2F4487 #872F44 #44872F
tetradic
#2F4487 #872F70 #87722F #2F8746
square
#2F4487 #872F70 #87722F #2F8746
split-complementary
#2F4487 #87462F #70872F
monochromatic
#0F162C #1F2D5A #2F4487 #3F5BB4 #667ECA
Accessibility & contrast
On white
9.14
#2F4487 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F4487 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4487
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4487 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4487 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f4487; /* rgb */ color: rgb(47, 68, 135); /* oklch */ color: oklch(40.7% 0.115 267.9);
Tailwind
colors: {
custom: {
50: '#7177aa',
500: '#2f4487',
950: '#000000',
},
}SCSS
$custom: #2f4487; $custom-light: #7177aa; $custom-dark: #000000;
JSON
{
"hex": "#2f4487",
"rgb": {
"r": 47,
"g": 68,
"b": 135
},
"hsl": {
"h": 225.682,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.40709,
"c": 0.11471,
"h": 267.9
},
"luminance": 0.06488
}Semantic roles & 50–950 ramp
primary
#2F4487
secondary
#B19E61
accent
#B750D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F