#2E2F8E#2E2F8E
#2E2F8E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.153 H 275.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F8E |
|---|---|
| RGB | rgb(46, 47, 142) |
| HSL | hsl(239, 51%, 37%) |
| HSV | hsv(239, 68%, 56%) |
| CMYK | cmyk(67.6%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.46, 31.11, -52.75) |
| CIE-LCH | lch(25.46, 61.24, 300.53°) |
| OKLab | oklab(37.02% 0.0146 -0.1522) |
| OKLCH | oklch(37.02% 0.153 275.5) |
| XYZ | xyz(7.0241, 4.5663, 26.0972) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.52
Blueberry
#464196
ΔE00 5.73
Royal
#0C1793
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F8E #8E8D2E
analogous
#2E5F8E #2E2F8E #5D2E8E
triadic
#2E2F8E #8E2E2F #2F8E2E
tetradic
#2E2F8E #8E2E5F #8E8D2E #2E8E5D
square
#2E2F8E #8E2E5F #8E8D2E #2E8E5D
split-complementary
#2E2F8E #8E5D2E #5F8E2E
monochromatic
#101032 #1F2060 #2E2F8E #3D3EBC #6869CE
Accessibility & contrast
On white
10.98
#2E2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F8E
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F8E | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2f8e; /* rgb */ color: rgb(46, 47, 142); /* oklch */ color: oklch(37.0% 0.153 275.5);
Tailwind
colors: {
custom: {
50: '#7468b0',
500: '#2e2f8e',
950: '#000000',
},
}SCSS
$custom: #2e2f8e; $custom-light: #7468b0; $custom-dark: #000000;
JSON
{
"hex": "#2e2f8e",
"rgb": {
"r": 46,
"g": 47,
"b": 142
},
"hsl": {
"h": 239.375,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.37024,
"c": 0.15289,
"h": 275.5
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#2E2F8E
secondary
#B5B463
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80