#2F4D8A#2F4D8A
#2F4D8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.107 H 262.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D8A |
|---|---|
| RGB | rgb(47, 77, 138) |
| HSL | hsl(220, 49%, 36%) |
| HSV | hsv(220, 66%, 54%) |
| CMYK | cmyk(65.9%, 44.2%, 0%, 45.9%) |
| CIE-LAB | lab(33.45, 9.68, -37.36) |
| CIE-LCH | lch(33.45, 38.59, 284.53°) |
| OKLab | oklab(42.95% -0.0132 -0.1066) |
| OKLCH | oklch(42.95% 0.107 262.9) |
| XYZ | xyz(8.4120, 7.7463, 25.0917) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.32
Dusk Blue
#26538D
ΔE00 3.21
Denim Blue
#3B5B92
ΔE00 4.64
Light Navy
#155084
ΔE00 4.89
Darkish Blue
#014182
ΔE00 4.94
Twilight Blue
#0A437A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D8A #8A6C2F
analogous
#2F7B8A #2F4D8A #3F2F8A
triadic
#2F4D8A #8A2F4D #4D8A2F
tetradic
#2F4D8A #8A2F7B #8A6C2F #2F8A3F
square
#2F4D8A #8A2F7B #8A6C2F #2F8A3F
split-complementary
#2F4D8A #8A3F2F #7B8A2F
monochromatic
#101A2F #1F345C #2F4D8A #3F66B8 #6889CC
Accessibility & contrast
On white
8.24
#2F4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F4D8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D8A
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D8A | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4d8a; /* rgb */ color: rgb(47, 77, 138); /* oklch */ color: oklch(42.9% 0.107 262.9);
Tailwind
colors: {
custom: {
50: '#717eac',
500: '#2f4d8a',
950: '#000000',
},
}SCSS
$custom: #2f4d8a; $custom-light: #717eac; $custom-dark: #000000;
JSON
{
"hex": "#2f4d8a",
"rgb": {
"r": 47,
"g": 77,
"b": 138
},
"hsl": {
"h": 220.22,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.42947,
"c": 0.10738,
"h": 262.9
},
"luminance": 0.07747
}Semantic roles & 50–950 ramp
primary
#2F4D8A
secondary
#B39862
accent
#AB4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F