#2F406B#2F406B
#2F406B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.077 H 266.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F406B |
|---|---|
| RGB | rgb(47, 64, 107) |
| HSL | hsl(223, 39%, 30%) |
| HSV | hsv(223, 56%, 42%) |
| CMYK | cmyk(56.1%, 40.2%, 0%, 58%) |
| CIE-LAB | lab(27.66, 7.04, -27.18) |
| CIE-LCH | lch(27.66, 28.08, 284.52°) |
| OKLab | oklab(37.88% -0.0047 -0.0769) |
| OKLCH | oklch(37.88% 0.077 266.5) |
| XYZ | xyz(5.6586, 5.3323, 14.6381) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.87
Twilight Blue
#0A437A
ΔE00 6.12
Darkish Blue
#014182
ΔE00 6.32
Marine
#042E60
ΔE00 6.68
Cobalt (survey)
#1E488F
ΔE00 6.69
Prussian Blue
#004577
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F406B #6B5A2F
analogous
#2F5E6B #2F406B #3C2F6B
triadic
#2F406B #6B2F40 #406B2F
tetradic
#2F406B #6B2F5E #6B5A2F #2F6B3C
square
#2F406B #6B2F5E #6B5A2F #2F6B3C
split-complementary
#2F406B #6B3C2F #5E6B2F
monochromatic
#0A0D16 #1C2740 #2F406B #425996 #5D76B8
Accessibility & contrast
On white
10.16
#2F406B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F406B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F406B
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F406B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F406B | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#283F6A
Tritanopia (blue-blind)
#114950
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f406b; /* rgb */ color: rgb(47, 64, 107); /* oklch */ color: oklch(37.9% 0.077 266.5);
Tailwind
colors: {
custom: {
50: '#6c7495',
500: '#2f406b',
950: '#000000',
},
}SCSS
$custom: #2f406b; $custom-light: #6c7495; $custom-dark: #000000;
JSON
{
"hex": "#2f406b",
"rgb": {
"r": 47,
"g": 64,
"b": 107
},
"hsl": {
"h": 223,
"s": 38.961,
"l": 30.196
},
"oklch": {
"l": 0.37879,
"c": 0.07705,
"h": 266.5
},
"luminance": 0.05333
}Semantic roles & 50–950 ramp
primary
#2F406B
secondary
#9C8959
accent
#AD59CF
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E