#2E2BA0#2E2BA0
#2E2BA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 274.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA0 |
|---|---|
| RGB | rgb(46, 43, 160) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(71.2%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.29, 39.84, -62.43) |
| CIE-LCH | lch(26.29, 74.06, 302.54°) |
| OKLab | oklab(38.15% 0.0149 -0.1805) |
| OKLCH | oklch(38.15% 0.181 274.7) |
| XYZ | xyz(8.3337, 4.8459, 33.7470) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Indigo Blue
#3A18B1
ΔE00 4.65
Royal
#0C1793
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.64
Royal Blue (survey)
#0504AA
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA0 #9DA02B
analogous
#2B63A0 #2E2BA0 #682BA0
triadic
#2E2BA0 #A02E2B #2BA02E
tetradic
#2E2BA0 #A02B63 #9DA02B #2BA068
square
#2E2BA0 #A02B63 #9DA02B #2BA068
split-complementary
#2E2BA0 #A0682B #63A02B
monochromatic
#121140 #201E70 #2E2BA0 #413DCB #706ED8
Accessibility & contrast
On white
10.66
#2E2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2E2BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA0
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA0 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2ba0; /* rgb */ color: rgb(46, 43, 160); /* oklch */ color: oklch(38.1% 0.181 274.7);
Tailwind
colors: {
custom: {
50: '#7866bd',
500: '#2e2ba0',
950: '#000000',
},
}SCSS
$custom: #2e2ba0; $custom-light: #7866bd; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba0",
"rgb": {
"r": 46,
"g": 43,
"b": 160
},
"hsl": {
"h": 241.538,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.3815,
"c": 0.18112,
"h": 274.7
},
"luminance": 0.04847
}Semantic roles & 50–950 ramp
primary
#2E2BA0
secondary
#BDBF68
accent
#E147DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81