#2F396F#2F396F
#2F396F is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.093 H 273.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F396F |
|---|---|
| RGB | rgb(47, 57, 111) |
| HSL | hsl(231, 41%, 31%) |
| HSV | hsv(231, 58%, 44%) |
| CMYK | cmyk(57.7%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(25.80, 13.28, -32.70) |
| CIE-LCH | lch(25.80, 35.29, 292.10°) |
| OKLab | oklab(36.53% 0.005 -0.0931) |
| OKLCH | oklch(36.53% 0.093 273.1) |
| XYZ | xyz(5.5037, 4.6779, 15.6487) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.70
Marine Blue
#01386A
ΔE00 6.81
Navy Blue
#1B2A4A
ΔE00 7.50
Darkish Blue
#014182
ΔE00 7.53
Blueberry
#464196
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F396F #6F652F
analogous
#2F596F #2F396F #452F6F
triadic
#2F396F #6F2F39 #396F2F
tetradic
#2F396F #6F2F59 #6F652F #2F6F45
square
#2F396F #6F2F59 #6F652F #2F6F45
split-complementary
#2F396F #6F452F #596F2F
monochromatic
#0B0D19 #1D2344 #2F396F #414F9A #5E6CBB
Accessibility & contrast
On white
10.85
#2F396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F396F
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F396F | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#183A6E
Tritanopia (blue-blind)
#0D454E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f396f; /* rgb */ color: rgb(47, 57, 111); /* oklch */ color: oklch(36.5% 0.093 273.1);
Tailwind
colors: {
custom: {
50: '#6d6f99',
500: '#2f396f',
950: '#000000',
},
}SCSS
$custom: #2f396f; $custom-light: #6d6f99; $custom-dark: #000000;
JSON
{
"hex": "#2f396f",
"rgb": {
"r": 47,
"g": 57,
"b": 111
},
"hsl": {
"h": 230.625,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.36529,
"c": 0.09327,
"h": 273.1
},
"luminance": 0.04678
}Semantic roles & 50–950 ramp
primary
#2F396F
secondary
#A09559
accent
#BD57D0
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E