#2E2BA1#2E2BA1
#2E2BA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.182 H 274.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA1 |
|---|---|
| RGB | rgb(46, 43, 161) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 73%, 63%) |
| CMYK | cmyk(71.4%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(26.39, 40.18, -62.87) |
| CIE-LCH | lch(26.39, 74.61, 302.58°) |
| OKLab | oklab(38.25% 0.0147 -0.1818) |
| OKLCH | oklch(38.25% 0.182 274.6) |
| XYZ | xyz(8.4215, 4.8810, 34.2096) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 4.57
Royal
#0C1793
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.59
Royal Blue (survey)
#0504AA
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA1 #9EA12B
analogous
#2B63A1 #2E2BA1 #692BA1
triadic
#2E2BA1 #A12E2B #2BA12E
tetradic
#2E2BA1 #A12B63 #9EA12B #2BA169
square
#2E2BA1 #A12B63 #9EA12B #2BA169
split-complementary
#2E2BA1 #A1692B #63A12B
monochromatic
#121140 #201E71 #2E2BA1 #413ECB #716ED8
Accessibility & contrast
On white
10.63
#2E2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2E2BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA1
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA1 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2ba1; /* rgb */ color: rgb(46, 43, 161); /* oklch */ color: oklch(38.3% 0.182 274.6);
Tailwind
colors: {
custom: {
50: '#7866be',
500: '#2e2ba1',
950: '#000000',
},
}SCSS
$custom: #2e2ba1; $custom-light: #7866be; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba1",
"rgb": {
"r": 46,
"g": 43,
"b": 161
},
"hsl": {
"h": 241.525,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.38253,
"c": 0.18238,
"h": 274.6
},
"luminance": 0.04882
}Semantic roles & 50–950 ramp
primary
#2E2BA1
secondary
#BDBF69
accent
#E147DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81