#2E2B9F#2E2B9F
#2E2B9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.180 H 274.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B9F |
|---|---|
| RGB | rgb(46, 43, 159) |
| HSL | hsl(242, 57%, 40%) |
| HSV | hsv(242, 73%, 62%) |
| CMYK | cmyk(71.1%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(26.19, 39.50, -61.99) |
| CIE-LCH | lch(26.19, 73.51, 302.50°) |
| OKLab | oklab(38.05% 0.015 -0.1792) |
| OKLCH | oklch(38.05% 0.18 274.8) |
| XYZ | xyz(8.2465, 4.8110, 33.2882) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 4.74
Royal
#0C1793
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 6.23
Ultramarine
#2000B1
ΔE00 6.70
Royal Blue (survey)
#0504AA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B9F #9C9F2B
analogous
#2B629F #2E2B9F #682B9F
triadic
#2E2B9F #9F2E2B #2B9F2E
tetradic
#2E2B9F #9F2B62 #9C9F2B #2B9F68
square
#2E2B9F #9F2B62 #9C9F2B #2B9F68
split-complementary
#2E2B9F #9F682B #629F2B
monochromatic
#12113F #201E6F #2E2B9F #403DCA #706DD7
Accessibility & contrast
On white
10.70
#2E2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E2B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B9F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B9F | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2b9f; /* rgb */ color: rgb(46, 43, 159); /* oklch */ color: oklch(38.0% 0.180 274.8);
Tailwind
colors: {
custom: {
50: '#7866bd',
500: '#2e2b9f',
950: '#000000',
},
}SCSS
$custom: #2e2b9f; $custom-light: #7866bd; $custom-dark: #000000;
JSON
{
"hex": "#2e2b9f",
"rgb": {
"r": 46,
"g": 43,
"b": 159
},
"hsl": {
"h": 241.552,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.38047,
"c": 0.17985,
"h": 274.8
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#2E2B9F
secondary
#BCBE67
accent
#E147DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81