#2F4B8A#2F4B8A
#2F4B8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.110 H 264.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4B8A |
|---|---|
| RGB | rgb(47, 75, 138) |
| HSL | hsl(222, 49%, 36%) |
| HSV | hsv(222, 66%, 54%) |
| CMYK | cmyk(65.9%, 45.7%, 0%, 45.9%) |
| CIE-LAB | lab(32.86, 11.01, -38.31) |
| CIE-LCH | lch(32.86, 39.86, 286.04°) |
| OKLab | oklab(42.49% -0.0111 -0.1094) |
| OKLCH | oklch(42.49% 0.11 264.2) |
| XYZ | xyz(8.2742, 7.4707, 25.0458) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.18
Dusk Blue
#26538D
ΔE00 3.91
Darkish Blue
#014182
ΔE00 4.76
Twilight Blue
#0A437A
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.11
Denim Blue
#3B5B92
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4B8A #8A6E2F
analogous
#2F798A #2F4B8A #412F8A
triadic
#2F4B8A #8A2F4B #4B8A2F
tetradic
#2F4B8A #8A2F79 #8A6E2F #2F8A41
square
#2F4B8A #8A2F79 #8A6E2F #2F8A41
split-complementary
#2F4B8A #8A412F #798A2F
monochromatic
#10192F #1F325C #2F4B8A #3F64B8 #6887CC
Accessibility & contrast
On white
8.42
#2F4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F4B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4B8A
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4B8A | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f4b8a; /* rgb */ color: rgb(47, 75, 138); /* oklch */ color: oklch(42.5% 0.110 264.2);
Tailwind
colors: {
custom: {
50: '#717cac',
500: '#2f4b8a',
950: '#000000',
},
}SCSS
$custom: #2f4b8a; $custom-light: #717cac; $custom-dark: #000000;
JSON
{
"hex": "#2f4b8a",
"rgb": {
"r": 47,
"g": 75,
"b": 138
},
"hsl": {
"h": 221.538,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.4249,
"c": 0.10995,
"h": 264.2
},
"luminance": 0.07471
}Semantic roles & 50–950 ramp
primary
#2F4B8A
secondary
#B39A62
accent
#AE4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F