#2F368E#2F368E
#2F368E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.144 H 274.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F368E |
|---|---|
| RGB | rgb(47, 54, 142) |
| HSL | hsl(236, 50%, 37%) |
| HSV | hsv(236, 67%, 56%) |
| CMYK | cmyk(66.9%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(27.28, 26.67, -49.77) |
| CIE-LCH | lch(27.28, 56.47, 298.18°) |
| OKLab | oklab(38.38% 0.01 -0.1434) |
| OKLCH | oklch(38.38% 0.144 274) |
| XYZ | xyz(7.3723, 5.1950, 26.2002) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 7.70
Ocean Blue
#4F42B5
ΔE00 7.74
Cobalt
#0047AB
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F368E #8E872F
analogous
#2F668E #2F368E #582F8E
triadic
#2F368E #8E2F36 #368E2F
tetradic
#2F368E #8E2F66 #8E872F #2F8E58
square
#2F368E #8E2F66 #8E872F #2F8E58
split-complementary
#2F368E #8E582F #668E2F
monochromatic
#111332 #202560 #2F368E #3E47BC #6A71CE
Accessibility & contrast
On white
10.30
#2F368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F368E
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F368E | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f368e; /* rgb */ color: rgb(47, 54, 142); /* oklch */ color: oklch(38.4% 0.144 274.0);
Tailwind
colors: {
custom: {
50: '#736db0',
500: '#2f368e',
950: '#000000',
},
}SCSS
$custom: #2f368e; $custom-light: #736db0; $custom-dark: #000000;
JSON
{
"hex": "#2f368e",
"rgb": {
"r": 47,
"g": 54,
"b": 142
},
"hsl": {
"h": 235.579,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.38378,
"c": 0.14373,
"h": 274
},
"luminance": 0.05196
}Semantic roles & 50–950 ramp
primary
#2F368E
secondary
#B5AF64
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F