#2E267E#2E267E
#2E267E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.142 H 279.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E267E |
|---|---|
| RGB | rgb(46, 38, 126) |
| HSL | hsl(245, 54%, 32%) |
| HSV | hsv(245, 70%, 49%) |
| CMYK | cmyk(63.5%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(21.85, 31.25, -48.65) |
| CIE-LCH | lch(21.85, 57.82, 302.72°) |
| OKLab | oklab(33.95% 0.024 -0.1402) |
| OKLCH | oklch(33.95% 0.142 279.7) |
| XYZ | xyz(5.5845, 3.4730, 20.1107) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.11
Royal
#0C1793
ΔE00 5.47
Indigo (survey)
#380282
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.05
Dark Royal Blue
#02066F
ΔE00 7.73
Darkblue
#00008B
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E267E #767E26
analogous
#264A7E #2E267E #5A267E
triadic
#2E267E #7E2E26 #267E2E
tetradic
#2E267E #7E264A #767E26 #267E5A
square
#2E267E #7E264A #767E26 #267E5A
split-complementary
#2E267E #7E5A26 #4A7E26
monochromatic
#0C0A20 #1D184F #2E267E #3F34AD #5E53CB
Accessibility & contrast
On white
12.39
#2E267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E267E
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E267E | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e267e; /* rgb */ color: rgb(46, 38, 126); /* oklch */ color: oklch(34.0% 0.142 279.7);
Tailwind
colors: {
custom: {
50: '#7161a4',
500: '#2e267e',
950: '#000000',
},
}SCSS
$custom: #2e267e; $custom-light: #7161a4; $custom-dark: #000000;
JSON
{
"hex": "#2e267e",
"rgb": {
"r": 46,
"g": 38,
"b": 126
},
"hsl": {
"h": 245.455,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.3395,
"c": 0.14223,
"h": 279.7
},
"luminance": 0.03473
}Semantic roles & 50–950 ramp
primary
#2E267E
secondary
#A7B050
accent
#DD4BD0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F