#2E2E9C#2E2E9C
#2E2E9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.173 H 274.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E9C |
|---|---|
| RGB | rgb(46, 46, 156) |
| HSL | hsl(240, 54%, 40%) |
| HSV | hsv(240, 71%, 61%) |
| CMYK | cmyk(70.5%, 70.5%, 0%, 38.8%) |
| CIE-LAB | lab(26.55, 36.66, -59.58) |
| CIE-LCH | lch(26.55, 69.95, 301.61°) |
| OKLab | oklab(38.21% 0.0137 -0.1722) |
| OKLCH | oklch(38.21% 0.173 274.5) |
| XYZ | xyz(8.1025, 4.9344, 31.9715) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 5.67
Royal
#0C1793
ΔE00 5.75
Blueberry
#464196
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 6.47
Cobalt Blue
#030AA7
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E9C #9C9C2E
analogous
#2E659C #2E2E9C #652E9C
triadic
#2E2E9C #9C2E2E #2E9C2E
tetradic
#2E2E9C #9C2E65 #9C9C2E #2E9C65
square
#2E2E9C #9C2E65 #9C9C2E #2E9C65
split-complementary
#2E2E9C #9C652E #659C2E
monochromatic
#12123D #20206D #2E2E9C #4040C7 #7070D5
Accessibility & contrast
On white
10.57
#2E2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E2E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E9C
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E9C | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2e9c; /* rgb */ color: rgb(46, 46, 156); /* oklch */ color: oklch(38.2% 0.173 274.5);
Tailwind
colors: {
custom: {
50: '#7767ba',
500: '#2e2e9c',
950: '#000000',
},
}SCSS
$custom: #2e2e9c; $custom-light: #7767ba; $custom-dark: #000000;
JSON
{
"hex": "#2e2e9c",
"rgb": {
"r": 46,
"g": 46,
"b": 156
},
"hsl": {
"h": 240,
"s": 54.455,
"l": 39.608
},
"oklch": {
"l": 0.38213,
"c": 0.17271,
"h": 274.5
},
"luminance": 0.04935
}Semantic roles & 50–950 ramp
primary
#2E2E9C
secondary
#BCBC6A
accent
#DE4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81