#2E2E9D#2E2E9D
#2E2E9D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.174 H 274.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E9D |
|---|---|
| RGB | rgb(46, 46, 157) |
| HSL | hsl(240, 55%, 40%) |
| HSV | hsv(240, 71%, 62%) |
| CMYK | cmyk(70.7%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(26.64, 37.01, -60.03) |
| CIE-LCH | lch(26.64, 70.52, 301.66°) |
| OKLab | oklab(38.31% 0.0135 -0.1735) |
| OKLCH | oklch(38.31% 0.174 274.5) |
| XYZ | xyz(8.1875, 4.9684, 32.4193) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Indigo Blue
#3A18B1
ΔE00 5.58
Royal
#0C1793
ΔE00 5.77
Blueberry
#464196
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.54
Cobalt Blue
#030AA7
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E9D #9D9D2E
analogous
#2E669D #2E2E9D #662E9D
triadic
#2E2E9D #9D2E2E #2E9D2E
tetradic
#2E2E9D #9D2E66 #9D9D2E #2E9D66
square
#2E2E9D #9D2E66 #9D9D2E #2E9D66
split-complementary
#2E2E9D #9D662E #669D2E
monochromatic
#12123E #20206E #2E2E9D #4141C7 #7070D5
Accessibility & contrast
On white
10.53
#2E2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E2E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E9D
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E9D | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2e9d; /* rgb */ color: rgb(46, 46, 157); /* oklch */ color: oklch(38.3% 0.174 274.5);
Tailwind
colors: {
custom: {
50: '#7767bb',
500: '#2e2e9d',
950: '#000000',
},
}SCSS
$custom: #2e2e9d; $custom-light: #7767bb; $custom-dark: #000000;
JSON
{
"hex": "#2e2e9d",
"rgb": {
"r": 46,
"g": 46,
"b": 157
},
"hsl": {
"h": 240,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.38313,
"c": 0.17401,
"h": 274.5
},
"luminance": 0.04969
}Semantic roles & 50–950 ramp
primary
#2E2E9D
secondary
#BDBD6A
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81