#2F4F9D#2F4F9D
#2F4F9D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.132 H 264.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F9D |
|---|---|
| RGB | rgb(47, 79, 157) |
| HSL | hsl(223, 54%, 40%) |
| HSV | hsv(223, 70%, 62%) |
| CMYK | cmyk(70.1%, 49.7%, 0%, 38.4%) |
| CIE-LAB | lab(35.26, 15.50, -46.00) |
| CIE-LCH | lch(35.26, 48.54, 288.62°) |
| OKLab | oklab(44.73% -0.012 -0.1319) |
| OKLCH | oklch(44.73% 0.132 264.8) |
| XYZ | xyz(10.0519, 8.6296, 33.0277) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.70
Dusk Blue
#26538D
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.10
Denim Blue
#3B5B92
ΔE00 4.42
Light Navy Blue
#2E5A88
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F9D #9D7D2F
analogous
#2F869D #2F4F9D #462F9D
triadic
#2F4F9D #9D2F4F #4F9D2F
tetradic
#2F4F9D #9D2F86 #9D7D2F #2F9D46
square
#2F4F9D #9D2F86 #9D7D2F #2F9D46
split-complementary
#2F4F9D #9D462F #869D2F
monochromatic
#13203F #21376E #2F4F9D #4369C7 #728FD5
Accessibility & contrast
On white
7.70
#2F4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2F4F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F9D
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F9D | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2458A0
Deuteranopia (green-blind)
#034E9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4f9d; /* rgb */ color: rgb(47, 79, 157); /* oklch */ color: oklch(44.7% 0.132 264.8);
Tailwind
colors: {
custom: {
50: '#757fba',
500: '#2f4f9d',
950: '#000000',
},
}SCSS
$custom: #2f4f9d; $custom-light: #757fba; $custom-dark: #000000;
JSON
{
"hex": "#2f4f9d",
"rgb": {
"r": 47,
"g": 79,
"b": 157
},
"hsl": {
"h": 222.545,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.44732,
"c": 0.13249,
"h": 264.8
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#2F4F9D
secondary
#BCA56B
accent
#B34BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81