#2F456E#2F456E
#2F456E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.075 H 262.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F456E |
|---|---|
| RGB | rgb(47, 69, 110) |
| HSL | hsl(219, 40%, 31%) |
| HSV | hsv(219, 57%, 43%) |
| CMYK | cmyk(57.3%, 37.3%, 0%, 56.9%) |
| CIE-LAB | lab(29.38, 4.75, -26.38) |
| CIE-LCH | lch(29.38, 26.80, 280.20°) |
| OKLab | oklab(39.26% -0.0104 -0.0745) |
| OKLCH | oklch(39.26% 0.075 262) |
| XYZ | xyz(6.1139, 5.9859, 15.5820) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.90
Darkish Blue
#014182
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 5.41
Marine Blue
#01386A
ΔE00 5.81
Prussian Blue
#004577
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F456E #6E582F
analogous
#2F646E #2F456E #392F6E
triadic
#2F456E #6E2F45 #456E2F
tetradic
#2F456E #6E2F64 #6E582F #2F6E39
square
#2F456E #6E2F64 #6E582F #2F6E39
split-complementary
#2F456E #6E392F #646E2F
monochromatic
#0A0F18 #1D2A43 #2F456E #416099 #5D7EBA
Accessibility & contrast
On white
9.56
#2F456E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F456E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F456E
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F456E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F456E | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354870
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#0B4E54
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f456e; /* rgb */ color: rgb(47, 69, 110); /* oklch */ color: oklch(39.3% 0.075 262.0);
Tailwind
colors: {
custom: {
50: '#6d7898',
500: '#2f456e',
950: '#000000',
},
}SCSS
$custom: #2f456e; $custom-light: #6d7898; $custom-dark: #000000;
JSON
{
"hex": "#2f456e",
"rgb": {
"r": 47,
"g": 69,
"b": 110
},
"hsl": {
"h": 219.048,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.39264,
"c": 0.07523,
"h": 262
},
"luminance": 0.05986
}Semantic roles & 50–950 ramp
primary
#2F456E
secondary
#9F8759
accent
#A658D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E