#2E2F9E#2E2F9E
#2E2F9E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.174 H 274.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2F9E |
|---|---|
| RGB | rgb(46, 47, 158) |
| HSL | hsl(239, 55%, 40%) |
| HSV | hsv(239, 71%, 62%) |
| CMYK | cmyk(70.9%, 70.3%, 0%, 38%) |
| CIE-LAB | lab(26.97, 36.74, -60.11) |
| CIE-LCH | lch(26.97, 70.45, 301.44°) |
| OKLab | oklab(38.57% 0.0127 -0.1737) |
| OKLCH | oklch(38.57% 0.174 274.2) |
| XYZ | xyz(8.3127, 5.0817, 32.8839) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Indigo Blue
#3A18B1
ΔE00 5.72
Blueberry
#464196
ΔE00 5.99
Royal
#0C1793
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.46
Ocean Blue
#4F42B5
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2F9E #9E9D2E
analogous
#2E679E #2E2F9E #652E9E
triadic
#2E2F9E #9E2E2F #2F9E2E
tetradic
#2E2F9E #9E2E67 #9E9D2E #2E9E65
square
#2E2F9E #9E2E67 #9E9D2E #2E9E65
split-complementary
#2E2F9E #9E652E #679E2E
monochromatic
#12133F #20216F #2E2F9E #4143C8 #7172D6
Accessibility & contrast
On white
10.41
#2E2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2E2F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2F9E
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2F9E | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e2f9e; /* rgb */ color: rgb(46, 47, 158); /* oklch */ color: oklch(38.6% 0.174 274.2);
Tailwind
colors: {
custom: {
50: '#7768bc',
500: '#2e2f9e',
950: '#000000',
},
}SCSS
$custom: #2e2f9e; $custom-light: #7768bc; $custom-dark: #000000;
JSON
{
"hex": "#2e2f9e",
"rgb": {
"r": 46,
"g": 47,
"b": 158
},
"hsl": {
"h": 239.464,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.38574,
"c": 0.17419,
"h": 274.2
},
"luminance": 0.05082
}Semantic roles & 50–950 ramp
primary
#2E2F9E
secondary
#BDBC6B
accent
#DD4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81