#2F406A#2F406A
#2F406A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.075 H 266.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F406A |
|---|---|
| RGB | rgb(47, 64, 106) |
| HSL | hsl(223, 39%, 30%) |
| HSV | hsv(223, 56%, 42%) |
| CMYK | cmyk(55.7%, 39.6%, 0%, 58.4%) |
| CIE-LAB | lab(27.60, 6.69, -26.63) |
| CIE-LCH | lch(27.60, 27.46, 284.09°) |
| OKLab | oklab(37.82% -0.005 -0.0753) |
| OKLCH | oklch(37.82% 0.075 266.2) |
| XYZ | xyz(5.6063, 5.3113, 14.3626) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.88
Twilight Blue
#0A437A
ΔE00 6.16
Darkish Blue
#014182
ΔE00 6.41
Marine
#042E60
ΔE00 6.69
Cobalt (survey)
#1E488F
ΔE00 6.81
Prussian Blue
#004577
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F406A #6A592F
analogous
#2F5D6A #2F406A #3C2F6A
triadic
#2F406A #6A2F40 #406A2F
tetradic
#2F406A #6A2F5D #6A592F #2F6A3C
square
#2F406A #6A2F5D #6A592F #2F6A3C
split-complementary
#2F406A #6A3C2F #5D6A2F
monochromatic
#090D15 #1C2640 #2F406A #425A94 #5C77B7
Accessibility & contrast
On white
10.18
#2F406A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F406A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F406A
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F406A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F406A | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#293F69
Tritanopia (blue-blind)
#124950
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f406a; /* rgb */ color: rgb(47, 64, 106); /* oklch */ color: oklch(37.8% 0.075 266.2);
Tailwind
colors: {
custom: {
50: '#6c7495',
500: '#2f406a',
950: '#000000',
},
}SCSS
$custom: #2f406a; $custom-light: #6c7495; $custom-dark: #000000;
JSON
{
"hex": "#2f406a",
"rgb": {
"r": 47,
"g": 64,
"b": 106
},
"hsl": {
"h": 222.712,
"s": 38.562,
"l": 30
},
"oklch": {
"l": 0.37816,
"c": 0.07547,
"h": 266.2
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#2F406A
secondary
#9B8859
accent
#AD59CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E