#2E2088#2E2088
#2E2088 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 279.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2088 |
|---|---|
| RGB | rgb(46, 32, 136) |
| HSL | hsl(248, 62%, 33%) |
| HSV | hsv(248, 76%, 53%) |
| CMYK | cmyk(66.2%, 76.5%, 0%, 46.7%) |
| CIE-LAB | lab(21.55, 38.19, -55.44) |
| CIE-LCH | lch(21.55, 67.32, 304.56°) |
| OKLab | oklab(34.04% 0.0267 -0.16) |
| OKLCH | oklch(34.04% 0.162 279.5) |
| XYZ | xyz(6.0857, 3.3910, 23.6216) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.50
Midnight Blue
#191970
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 5.21
Cobalt Blue
#030AA7
ΔE00 5.81
Darkblue
#00008B
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2088 #7A8820
analogous
#204688 #2E2088 #622088
triadic
#2E2088 #882E20 #20882E
tetradic
#2E2088 #882046 #7A8820 #208862
square
#2E2088 #882046 #7A8820 #208862
split-complementary
#2E2088 #886220 #468820
monochromatic
#0C0925 #1D1456 #2E2088 #3F2CBA #604DD5
Accessibility & contrast
On white
12.51
#2E2088 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2088 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2088
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2088 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2088 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2088; /* rgb */ color: rgb(46, 32, 136); /* oklch */ color: oklch(34.0% 0.162 279.5);
Tailwind
colors: {
custom: {
50: '#745eac',
500: '#2e2088',
950: '#000000',
},
}SCSS
$custom: #2e2088; $custom-light: #745eac; $custom-dark: #000000;
JSON
{
"hex": "#2e2088",
"rgb": {
"r": 46,
"g": 32,
"b": 136
},
"hsl": {
"h": 248.077,
"s": 61.905,
"l": 32.941
},
"oklch": {
"l": 0.34037,
"c": 0.16225,
"h": 279.5
},
"luminance": 0.03391
}Semantic roles & 50–950 ramp
primary
#2E2088
secondary
#AAB84C
accent
#E543CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F