#2F375F#2F375F
#2F375F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.070 H 273.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F375F |
|---|---|
| RGB | rgb(47, 55, 95) |
| HSL | hsl(230, 34%, 28%) |
| HSV | hsv(230, 51%, 37%) |
| CMYK | cmyk(50.5%, 42.1%, 0%, 62.7%) |
| CIE-LAB | lab(24.20, 8.97, -24.91) |
| CIE-LCH | lch(24.20, 26.48, 289.81°) |
| OKLab | oklab(34.99% 0.0045 -0.0703) |
| OKLCH | oklch(34.99% 0.07 273.7) |
| XYZ | xyz(4.6034, 4.1627, 11.3852) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.41
Marine
#042E60
ΔE00 6.63
Marine Blue
#01386A
ΔE00 7.78
Darkslateblue
#483D8B
ΔE00 9.24
Twilight Blue
#0A437A
ΔE00 9.43
Darkish Blue
#014182
ΔE00 9.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F375F #5F572F
analogous
#2F4F5F #2F375F #3F2F5F
triadic
#2F375F #5F2F37 #375F2F
tetradic
#2F375F #5F2F4F #5F572F #2F5F3F
square
#2F375F #5F2F4F #5F572F #2F5F3F
split-complementary
#2F375F #5F3F2F #4F5F2F
monochromatic
#0A0C14 #1B1F36 #2F375F #434F88 #5B69AE
Accessibility & contrast
On white
11.46
#2F375F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F375F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F375F
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F375F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F375F | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#1D3F46
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f375f; /* rgb */ color: rgb(47, 55, 95); /* oklch */ color: oklch(35.0% 0.070 273.7);
Tailwind
colors: {
custom: {
50: '#6b6d8c',
500: '#2f375f',
950: '#000000',
},
}SCSS
$custom: #2f375f; $custom-light: #6b6d8c; $custom-dark: #000000;
JSON
{
"hex": "#2f375f",
"rgb": {
"r": 47,
"g": 55,
"b": 95
},
"hsl": {
"h": 230,
"s": 33.803,
"l": 27.843
},
"oklch": {
"l": 0.34987,
"c": 0.07048,
"h": 273.7
},
"luminance": 0.04163
}Semantic roles & 50–950 ramp
primary
#2F375F
secondary
#918759
accent
#B85ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D