#2F386E#2F386E
#2F386E is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.093 H 273.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F386E |
|---|---|
| RGB | rgb(47, 56, 110) |
| HSL | hsl(231, 40%, 31%) |
| HSV | hsv(231, 57%, 43%) |
| CMYK | cmyk(57.3%, 49.1%, 0%, 56.9%) |
| CIE-LAB | lab(25.44, 13.61, -32.63) |
| CIE-LCH | lch(25.44, 35.36, 292.64°) |
| OKLab | oklab(36.23% 0.0061 -0.093) |
| OKLCH | oklch(36.23% 0.093 273.7) |
| XYZ | xyz(5.4000, 4.5581, 15.3441) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.73
Marine Blue
#01386A
ΔE00 7.01
Navy Blue
#1B2A4A
ΔE00 7.34
Blueberry
#464196
ΔE00 7.66
Darkish Blue
#014182
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F386E #6E652F
analogous
#2F576E #2F386E #452F6E
triadic
#2F386E #6E2F38 #386E2F
tetradic
#2F386E #6E2F57 #6E652F #2F6E45
square
#2F386E #6E2F57 #6E652F #2F6E45
split-complementary
#2F386E #6E452F #576E2F
monochromatic
#0A0C18 #1D2243 #2F386E #414E99 #5D6BBA
Accessibility & contrast
On white
10.99
#2F386E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F386E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F386E
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F386E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F386E | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#183A6D
Tritanopia (blue-blind)
#0F444D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f386e; /* rgb */ color: rgb(47, 56, 110); /* oklch */ color: oklch(36.2% 0.093 273.7);
Tailwind
colors: {
custom: {
50: '#6d6e98',
500: '#2f386e',
950: '#000000',
},
}SCSS
$custom: #2f386e; $custom-light: #6d6e98; $custom-dark: #000000;
JSON
{
"hex": "#2f386e",
"rgb": {
"r": 47,
"g": 56,
"b": 110
},
"hsl": {
"h": 231.429,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.36234,
"c": 0.09316,
"h": 273.7
},
"luminance": 0.04558
}Semantic roles & 50–950 ramp
primary
#2F386E
secondary
#9F9559
accent
#BF58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E