#2F4D8F#2F4D8F
#2F4D8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.115 H 263.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D8F |
|---|---|
| RGB | rgb(47, 77, 143) |
| HSL | hsl(221, 51%, 37%) |
| HSV | hsv(221, 67%, 56%) |
| CMYK | cmyk(67.1%, 46.2%, 0%, 43.9%) |
| CIE-LAB | lab(33.76, 11.55, -39.92) |
| CIE-LCH | lch(33.76, 41.56, 286.14°) |
| OKLab | oklab(43.29% -0.0123 -0.1141) |
| OKLCH | oklch(43.29% 0.115 263.9) |
| XYZ | xyz(8.7824, 7.8944, 27.0422) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.23
Dusk Blue
#26538D
ΔE00 3.38
Denim Blue
#3B5B92
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.67
Darkish Blue
#014182
ΔE00 5.17
Light Navy
#155084
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D8F #8F712F
analogous
#2F7D8F #2F4D8F #412F8F
triadic
#2F4D8F #8F2F4D #4D8F2F
tetradic
#2F4D8F #8F2F7D #8F712F #2F8F41
square
#2F4D8F #8F2F7D #8F712F #2F8F41
split-complementary
#2F4D8F #8F412F #7D8F2F
monochromatic
#111B33 #203461 #2F4D8F #3E66BD #6A89CE
Accessibility & contrast
On white
8.14
#2F4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2F4D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D8F
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D8F | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4d8f; /* rgb */ color: rgb(47, 77, 143); /* oklch */ color: oklch(43.3% 0.115 263.9);
Tailwind
colors: {
custom: {
50: '#727eb0',
500: '#2f4d8f',
950: '#000000',
},
}SCSS
$custom: #2f4d8f; $custom-light: #727eb0; $custom-dark: #000000;
JSON
{
"hex": "#2f4d8f",
"rgb": {
"r": 47,
"g": 77,
"b": 143
},
"hsl": {
"h": 221.25,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.43289,
"c": 0.11475,
"h": 263.9
},
"luminance": 0.07895
}Semantic roles & 50–950 ramp
primary
#2F4D8F
secondary
#B59C65
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F