#2E2BA4#2E2BA4
#2E2BA4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.186 H 274.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA4 |
|---|---|
| RGB | rgb(46, 43, 164) |
| HSL | hsl(241, 58%, 41%) |
| HSV | hsv(241, 74%, 64%) |
| CMYK | cmyk(72%, 73.8%, 0%, 35.7%) |
| CIE-LAB | lab(26.70, 41.19, -64.19) |
| CIE-LCH | lch(26.70, 76.26, 302.69°) |
| OKLab | oklab(38.57% 0.0142 -0.1856) |
| OKLCH | oklch(38.57% 0.186 274.4) |
| XYZ | xyz(8.6892, 4.9881, 35.6196) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Indigo Blue
#3A18B1
ΔE00 4.34
Royal
#0C1793
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 6.13
True Blue
#010FCC
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA4 #A1A42B
analogous
#2B64A4 #2E2BA4 #6B2BA4
triadic
#2E2BA4 #A42E2B #2BA42E
tetradic
#2E2BA4 #A42B64 #A1A42B #2BA46B
square
#2E2BA4 #A42B64 #A1A42B #2BA46B
split-complementary
#2E2BA4 #A46B2B #64A42B
monochromatic
#131243 #201E74 #2E2BA4 #433FCD #7370D9
Accessibility & contrast
On white
10.51
#2E2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E2BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA4
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA4 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2ba4; /* rgb */ color: rgb(46, 43, 164); /* oklch */ color: oklch(38.6% 0.186 274.4);
Tailwind
colors: {
custom: {
50: '#7966c0',
500: '#2e2ba4',
950: '#000000',
},
}SCSS
$custom: #2e2ba4; $custom-light: #7966c0; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba4",
"rgb": {
"r": 46,
"g": 43,
"b": 164
},
"hsl": {
"h": 241.488,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.38565,
"c": 0.18615,
"h": 274.4
},
"luminance": 0.04989
}Semantic roles & 50–950 ramp
primary
#2E2BA4
secondary
#BEC16A
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81