#2F406E#2F406E
#2F406E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.082 H 267.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F406E |
|---|---|
| RGB | rgb(47, 64, 110) |
| HSL | hsl(224, 40%, 31%) |
| HSV | hsv(224, 57%, 43%) |
| CMYK | cmyk(57.3%, 41.8%, 0%, 56.9%) |
| CIE-LAB | lab(27.84, 8.12, -28.81) |
| CIE-LCH | lch(27.84, 29.94, 285.74°) |
| OKLab | oklab(38.07% -0.004 -0.0817) |
| OKLCH | oklch(38.07% 0.082 267.2) |
| XYZ | xyz(5.8192, 5.3965, 15.4838) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.86
Twilight Blue
#0A437A
ΔE00 6.00
Darkish Blue
#014182
ΔE00 6.08
Cobalt (survey)
#1E488F
ΔE00 6.32
Marine
#042E60
ΔE00 6.67
Prussian Blue
#004577
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F406E #6E5D2F
analogous
#2F5F6E #2F406E #3E2F6E
triadic
#2F406E #6E2F40 #406E2F
tetradic
#2F406E #6E2F5F #6E5D2F #2F6E3E
square
#2F406E #6E2F5F #6E5D2F #2F6E3E
split-complementary
#2F406E #6E3E2F #5F6E2F
monochromatic
#0A0E18 #1D2743 #2F406E #415999 #5D76BA
Accessibility & contrast
On white
10.10
#2F406E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F406E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F406E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F406E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F406E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#0D4A51
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f406e; /* rgb */ color: rgb(47, 64, 110); /* oklch */ color: oklch(38.1% 0.082 267.2);
Tailwind
colors: {
custom: {
50: '#6d7498',
500: '#2f406e',
950: '#000000',
},
}SCSS
$custom: #2f406e; $custom-light: #6d7498; $custom-dark: #000000;
JSON
{
"hex": "#2f406e",
"rgb": {
"r": 47,
"g": 64,
"b": 110
},
"hsl": {
"h": 223.81,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.38071,
"c": 0.08178,
"h": 267.2
},
"luminance": 0.05397
}Semantic roles & 50–950 ramp
primary
#2F406E
secondary
#9F8C59
accent
#B058D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E