#2F405E#2F405E
#2F405E is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.1% C 0.056 H 261.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F405E |
|---|---|
| RGB | rgb(47, 64, 94) |
| HSL | hsl(218, 33%, 28%) |
| HSV | hsv(218, 50%, 37%) |
| CMYK | cmyk(50%, 31.9%, 0%, 63.1%) |
| CIE-LAB | lab(26.96, 2.50, -19.93) |
| CIE-LCH | lch(26.96, 20.08, 277.14°) |
| OKLab | oklab(37.1% -0.0085 -0.0558) |
| OKLCH | oklch(37.1% 0.056 261.4) |
| XYZ | xyz(5.0254, 5.0790, 11.3030) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 6.50
Twilight Blue
#0A437A
ΔE00 7.00
Navy Blue
#1B2A4A
ΔE00 7.15
Dark Grey Blue
#29465B
ΔE00 7.20
Dark Slate Blue
#214761
ΔE00 7.35
Marine
#042E60
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F405E #5E4D2F
analogous
#2F575E #2F405E #362F5E
triadic
#2F405E #5E2F40 #405E2F
tetradic
#2F405E #5E2F57 #5E4D2F #2F5E36
square
#2F405E #5E2F57 #5E4D2F #2F5E36
split-complementary
#2F405E #5E362F #575E2F
monochromatic
#0A0E14 #1B2435 #2F405E #435C87 #5B78AD
Accessibility & contrast
On white
10.42
#2F405E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F405E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F405E
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F405E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F405E | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35425F
Deuteranopia (green-blind)
#303E5D
Tritanopia (blue-blind)
#1C464B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f405e; /* rgb */ color: rgb(47, 64, 94); /* oklch */ color: oklch(37.1% 0.056 261.4);
Tailwind
colors: {
custom: {
50: '#6a748b',
500: '#2f405e',
950: '#000000',
},
}SCSS
$custom: #2f405e; $custom-light: #6a748b; $custom-dark: #000000;
JSON
{
"hex": "#2f405e",
"rgb": {
"r": 47,
"g": 64,
"b": 94
},
"hsl": {
"h": 218.298,
"s": 33.333,
"l": 27.647
},
"oklch": {
"l": 0.37103,
"c": 0.05647,
"h": 261.4
},
"luminance": 0.05079
}Semantic roles & 50–950 ramp
primary
#2F405E
secondary
#907C59
accent
#A35EC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D