#2F367E#2F367E
#2F367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.121 H 274.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F367E |
|---|---|
| RGB | rgb(47, 54, 126) |
| HSL | hsl(235, 46%, 34%) |
| HSV | hsv(235, 63%, 49%) |
| CMYK | cmyk(62.7%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(26.01, 20.82, -41.87) |
| CIE-LCH | lch(26.01, 46.76, 296.44°) |
| OKLab | oklab(37.03% 0.0099 -0.1201) |
| OKLCH | oklch(37.03% 0.121 274.7) |
| XYZ | xyz(6.2561, 4.7485, 20.3215) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 5.46
Sapphire (survey)
#2138AB
ΔE00 6.98
Marine
#042E60
ΔE00 7.36
Cobalt (survey)
#1E488F
ΔE00 7.75
Darkish Blue
#014182
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F367E #7E772F
analogous
#2F5E7E #2F367E #502F7E
triadic
#2F367E #7E2F36 #367E2F
tetradic
#2F367E #7E2F5E #7E772F #2F7E50
square
#2F367E #7E2F5E #7E772F #2F7E50
split-complementary
#2F367E #7E502F #5E7E2F
monochromatic
#0E1025 #1E2351 #2F367E #4049AB #636BC5
Accessibility & contrast
On white
10.77
#2F367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F367E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F367E | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f367e; /* rgb */ color: rgb(47, 54, 126); /* oklch */ color: oklch(37.0% 0.121 274.7);
Tailwind
colors: {
custom: {
50: '#706ca4',
500: '#2f367e',
950: '#000000',
},
}SCSS
$custom: #2f367e; $custom-light: #706ca4; $custom-dark: #000000;
JSON
{
"hex": "#2f367e",
"rgb": {
"r": 47,
"g": 54,
"b": 126
},
"hsl": {
"h": 234.684,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.37027,
"c": 0.12055,
"h": 274.7
},
"luminance": 0.04749
}Semantic roles & 50–950 ramp
primary
#2F367E
secondary
#ACA55D
accent
#CA52D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F