#2F4D8E#2F4D8E
#2F4D8E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.113 H 263.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D8E |
|---|---|
| RGB | rgb(47, 77, 142) |
| HSL | hsl(221, 50%, 37%) |
| HSV | hsv(221, 67%, 56%) |
| CMYK | cmyk(66.9%, 45.8%, 0%, 44.3%) |
| CIE-LAB | lab(33.70, 11.18, -39.41) |
| CIE-LCH | lch(33.70, 40.96, 285.83°) |
| OKLab | oklab(43.22% -0.0124 -0.1126) |
| OKLCH | oklch(43.22% 0.113 263.7) |
| XYZ | xyz(8.7069, 7.8643, 26.6450) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Dusk Blue
#26538D
ΔE00 3.34
Denim Blue
#3B5B92
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.78
Darkish Blue
#014182
ΔE00 5.12
Light Navy
#155084
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D8E #8E702F
analogous
#2F7D8E #2F4D8E #412F8E
triadic
#2F4D8E #8E2F4D #4D8E2F
tetradic
#2F4D8E #8E2F7D #8E702F #2F8E41
square
#2F4D8E #8E2F7D #8E702F #2F8E41
split-complementary
#2F4D8E #8E412F #7D8E2F
monochromatic
#111B32 #203460 #2F4D8E #3E66BC #6A89CE
Accessibility & contrast
On white
8.16
#2F4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F4D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D8E
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D8E | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4d8e; /* rgb */ color: rgb(47, 77, 142); /* oklch */ color: oklch(43.2% 0.113 263.7);
Tailwind
colors: {
custom: {
50: '#727eaf',
500: '#2f4d8e',
950: '#000000',
},
}SCSS
$custom: #2f4d8e; $custom-light: #727eaf; $custom-dark: #000000;
JSON
{
"hex": "#2f4d8e",
"rgb": {
"r": 47,
"g": 77,
"b": 142
},
"hsl": {
"h": 221.053,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.4322,
"c": 0.11328,
"h": 263.7
},
"luminance": 0.07865
}Semantic roles & 50–950 ramp
primary
#2F4D8E
secondary
#B59B64
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F