#2F4E8F#2F4E8F
#2F4E8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.113 H 263.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E8F |
|---|---|
| RGB | rgb(47, 78, 143) |
| HSL | hsl(221, 51%, 37%) |
| HSV | hsv(221, 67%, 56%) |
| CMYK | cmyk(67.1%, 45.5%, 0%, 43.9%) |
| CIE-LAB | lab(34.06, 10.89, -39.45) |
| CIE-LCH | lch(34.06, 40.92, 285.43°) |
| OKLab | oklab(43.52% -0.0133 -0.1127) |
| OKLCH | oklch(43.52% 0.113 263.3) |
| XYZ | xyz(8.8529, 8.0354, 27.0657) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.37
Dusk Blue
#26538D
ΔE00 3.05
Denim Blue
#3B5B92
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.77
Light Navy
#155084
ΔE00 4.98
Light Navy Blue
#2E5A88
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E8F #8F702F
analogous
#2F7E8F #2F4E8F #402F8F
triadic
#2F4E8F #8F2F4E #4E8F2F
tetradic
#2F4E8F #8F2F7E #8F702F #2F8F40
square
#2F4E8F #8F2F7E #8F702F #2F8F40
split-complementary
#2F4E8F #8F402F #7E8F2F
monochromatic
#111C33 #203561 #2F4E8F #3E67BD #6A8BCE
Accessibility & contrast
On white
8.05
#2F4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2F4E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E8F
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E8F | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4e8f; /* rgb */ color: rgb(47, 78, 143); /* oklch */ color: oklch(43.5% 0.113 263.3);
Tailwind
colors: {
custom: {
50: '#727fb0',
500: '#2f4e8f',
950: '#000000',
},
}SCSS
$custom: #2f4e8f; $custom-light: #727fb0; $custom-dark: #000000;
JSON
{
"hex": "#2f4e8f",
"rgb": {
"r": 47,
"g": 78,
"b": 143
},
"hsl": {
"h": 220.625,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.43515,
"c": 0.11347,
"h": 263.3
},
"luminance": 0.08036
}Semantic roles & 50–950 ramp
primary
#2F4E8F
secondary
#B59B65
accent
#AD4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F