#2E2BA3#2E2BA3
#2E2BA3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.185 H 274.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA3 |
|---|---|
| RGB | rgb(46, 43, 163) |
| HSL | hsl(242, 58%, 40%) |
| HSV | hsv(242, 74%, 64%) |
| CMYK | cmyk(71.8%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(26.60, 40.85, -63.75) |
| CIE-LCH | lch(26.60, 75.72, 302.65°) |
| OKLab | oklab(38.46% 0.0143 -0.1843) |
| OKLCH | oklch(38.46% 0.185 274.4) |
| XYZ | xyz(8.5993, 4.9521, 35.1459) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.11
Indigo Blue
#3A18B1
ΔE00 4.41
Royal
#0C1793
ΔE00 5.38
Cobalt Blue
#030AA7
ΔE00 6.14
True Blue
#010FCC
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA3 #A0A32B
analogous
#2B64A3 #2E2BA3 #6A2BA3
triadic
#2E2BA3 #A32E2B #2BA32E
tetradic
#2E2BA3 #A32B64 #A0A32B #2BA36A
square
#2E2BA3 #A32B64 #A0A32B #2BA36A
split-complementary
#2E2BA3 #A36A2B #64A32B
monochromatic
#131142 #201E73 #2E2BA3 #423FCC #726FD9
Accessibility & contrast
On white
10.55
#2E2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA3
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA3 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2ba3; /* rgb */ color: rgb(46, 43, 163); /* oklch */ color: oklch(38.5% 0.185 274.4);
Tailwind
colors: {
custom: {
50: '#7966bf',
500: '#2e2ba3',
950: '#000000',
},
}SCSS
$custom: #2e2ba3; $custom-light: #7966bf; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba3",
"rgb": {
"r": 46,
"g": 43,
"b": 163
},
"hsl": {
"h": 241.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.38461,
"c": 0.1849,
"h": 274.4
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#2E2BA3
secondary
#BEC06A
accent
#E146DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81