#2F457F#2F457F
#2F457F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.101 H 266.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F457F |
|---|---|
| RGB | rgb(47, 69, 127) |
| HSL | hsl(224, 46%, 34%) |
| HSV | hsv(224, 63%, 50%) |
| CMYK | cmyk(63%, 45.7%, 0%, 50.2%) |
| CIE-LAB | lab(30.38, 10.95, -35.46) |
| CIE-LCH | lch(30.38, 37.11, 287.16°) |
| OKLab | oklab(40.37% -0.0065 -0.1011) |
| OKLCH | oklch(40.37% 0.101 266.3) |
| XYZ | xyz(7.1299, 6.3923, 20.9327) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.56
Darkish Blue
#014182
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 4.95
Dusk Blue
#26538D
ΔE00 6.03
Prussian Blue
#004577
ΔE00 6.40
Marine Blue
#01386A
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F457F #7F692F
analogous
#2F6D7F #2F457F #412F7F
triadic
#2F457F #7F2F45 #457F2F
tetradic
#2F457F #7F2F6D #7F692F #2F7F41
square
#2F457F #7F2F6D #7F692F #2F7F41
split-complementary
#2F457F #7F412F #6D7F2F
monochromatic
#0E1426 #1E2D52 #2F457F #405DAC #637EC5
Accessibility & contrast
On white
9.22
#2F457F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F457F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F457F
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F457F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F457F | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#1E447E
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f457f; /* rgb */ color: rgb(47, 69, 127); /* oklch */ color: oklch(40.4% 0.101 266.3);
Tailwind
colors: {
custom: {
50: '#6f78a4',
500: '#2f457f',
950: '#000000',
},
}SCSS
$custom: #2f457f; $custom-light: #6f78a4; $custom-dark: #000000;
JSON
{
"hex": "#2f457f",
"rgb": {
"r": 47,
"g": 69,
"b": 127
},
"hsl": {
"h": 223.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.40366,
"c": 0.10132,
"h": 266.3
},
"luminance": 0.06393
}Semantic roles & 50–950 ramp
primary
#2F457F
secondary
#AC975E
accent
#B152D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F