#2F406F#2F406F
#2F406F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.083 H 267.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F406F |
|---|---|
| RGB | rgb(47, 64, 111) |
| HSL | hsl(224, 41%, 31%) |
| HSV | hsv(224, 58%, 44%) |
| CMYK | cmyk(57.7%, 42.3%, 0%, 56.5%) |
| CIE-LAB | lab(27.89, 8.48, -29.36) |
| CIE-LCH | lch(27.89, 30.56, 286.11°) |
| OKLab | oklab(38.14% -0.0038 -0.0833) |
| OKLCH | oklch(38.14% 0.083 267.4) |
| XYZ | xyz(5.8740, 5.4184, 15.7722) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.87
Twilight Blue
#0A437A
ΔE00 5.97
Darkish Blue
#014182
ΔE00 6.00
Cobalt (survey)
#1E488F
ΔE00 6.20
Marine
#042E60
ΔE00 6.68
Prussian Blue
#004577
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F406F #6F5E2F
analogous
#2F606F #2F406F #3E2F6F
triadic
#2F406F #6F2F40 #406F2F
tetradic
#2F406F #6F2F60 #6F5E2F #2F6F3E
square
#2F406F #6F2F60 #6F5E2F #2F6F3E
split-complementary
#2F406F #6F3E2F #606F2F
monochromatic
#0B0E19 #1D2744 #2F406F #41599A #5E76BB
Accessibility & contrast
On white
10.08
#2F406F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F406F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F406F
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F406F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F406F | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#253F6E
Tritanopia (blue-blind)
#0B4A52
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f406f; /* rgb */ color: rgb(47, 64, 111); /* oklch */ color: oklch(38.1% 0.083 267.4);
Tailwind
colors: {
custom: {
50: '#6d7498',
500: '#2f406f',
950: '#000000',
},
}SCSS
$custom: #2f406f; $custom-light: #6d7498; $custom-dark: #000000;
JSON
{
"hex": "#2f406f",
"rgb": {
"r": 47,
"g": 64,
"b": 111
},
"hsl": {
"h": 224.063,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.38136,
"c": 0.08335,
"h": 267.4
},
"luminance": 0.05419
}Semantic roles & 50–950 ramp
primary
#2F406F
secondary
#A08D59
accent
#B057D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E