#2F457E#2F457E
#2F457E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.100 H 266.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F457E |
|---|---|
| RGB | rgb(47, 69, 126) |
| HSL | hsl(223, 46%, 34%) |
| HSV | hsv(223, 63%, 49%) |
| CMYK | cmyk(62.7%, 45.2%, 0%, 50.6%) |
| CIE-LAB | lab(30.32, 10.58, -34.94) |
| CIE-LCH | lch(30.32, 36.51, 286.85°) |
| OKLab | oklab(40.3% -0.0067 -0.0996) |
| OKLCH | oklch(40.3% 0.1 266.2) |
| XYZ | xyz(7.0650, 6.3663, 20.5911) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.65
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 4.92
Dusk Blue
#26538D
ΔE00 6.04
Marine Blue
#01386A
ΔE00 6.34
Prussian Blue
#004577
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F457E #7E682F
analogous
#2F6D7E #2F457E #412F7E
triadic
#2F457E #7E2F45 #457E2F
tetradic
#2F457E #7E2F6D #7E682F #2F7E41
square
#2F457E #7E2F6D #7E682F #2F7E41
split-complementary
#2F457E #7E412F #6D7E2F
monochromatic
#0E1425 #1E2D51 #2F457E #405DAB #637EC5
Accessibility & contrast
On white
9.24
#2F457E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F457E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F457E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F457E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F457E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f457e; /* rgb */ color: rgb(47, 69, 126); /* oklch */ color: oklch(40.3% 0.100 266.2);
Tailwind
colors: {
custom: {
50: '#6f78a4',
500: '#2f457e',
950: '#000000',
},
}SCSS
$custom: #2f457e; $custom-light: #6f78a4; $custom-dark: #000000;
JSON
{
"hex": "#2f457e",
"rgb": {
"r": 47,
"g": 69,
"b": 126
},
"hsl": {
"h": 223.291,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.40297,
"c": 0.09979,
"h": 266.2
},
"luminance": 0.06367
}Semantic roles & 50–950 ramp
primary
#2F457E
secondary
#AC965D
accent
#B152D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F