#2F4589#2F4589
#2F4589 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.116 H 267.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4589 |
|---|---|
| RGB | rgb(47, 69, 137) |
| HSL | hsl(225, 49%, 36%) |
| HSV | hsv(225, 66%, 54%) |
| CMYK | cmyk(65.7%, 49.6%, 0%, 46.3%) |
| CIE-LAB | lab(31.03, 14.68, -40.61) |
| CIE-LCH | lch(31.03, 43.19, 289.87°) |
| OKLab | oklab(41.08% -0.0049 -0.1162) |
| OKLCH | oklch(41.08% 0.116 267.6) |
| XYZ | xyz(7.8142, 6.6660, 24.5369) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.05
Darkish Blue
#014182
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.42
Twilight Blue
#0A437A
ΔE00 5.50
Blueberry
#464196
ΔE00 5.72
Dusk Blue
#26538D
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4589 #89732F
analogous
#2F7289 #2F4589 #462F89
triadic
#2F4589 #892F45 #45892F
tetradic
#2F4589 #892F72 #89732F #2F8946
square
#2F4589 #892F72 #89732F #2F8946
split-complementary
#2F4589 #89462F #72892F
monochromatic
#10172E #1F2E5B #2F4589 #3F5CB7 #6780CB
Accessibility & contrast
On white
9.00
#2F4589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F4589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4589
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4589 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#0F4588
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f4589; /* rgb */ color: rgb(47, 69, 137); /* oklch */ color: oklch(41.1% 0.116 267.6);
Tailwind
colors: {
custom: {
50: '#7178ac',
500: '#2f4589',
950: '#000000',
},
}SCSS
$custom: #2f4589; $custom-light: #7178ac; $custom-dark: #000000;
JSON
{
"hex": "#2f4589",
"rgb": {
"r": 47,
"g": 69,
"b": 137
},
"hsl": {
"h": 225.333,
"s": 48.913,
"l": 36.078
},
"oklch": {
"l": 0.41076,
"c": 0.11635,
"h": 267.6
},
"luminance": 0.06667
}Semantic roles & 50–950 ramp
primary
#2F4589
secondary
#B29E62
accent
#B74FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F