#2E339E#2E339E
#2E339E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.170 H 273.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E339E |
|---|---|
| RGB | rgb(46, 51, 158) |
| HSL | hsl(237, 55%, 40%) |
| HSV | hsv(237, 71%, 62%) |
| CMYK | cmyk(70.9%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.89, 34.24, -58.59) |
| CIE-LCH | lch(27.89, 67.86, 300.30°) |
| OKLab | oklab(39.24% 0.0101 -0.1693) |
| OKLCH | oklch(39.24% 0.17 273.4) |
| XYZ | xyz(8.4800, 5.4163, 32.9397) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.59
Blueberry
#464196
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.73
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E339E #9E992E
analogous
#2E6B9E #2E339E #612E9E
triadic
#2E339E #9E2E33 #339E2E
tetradic
#2E339E #9E2E6B #9E992E #2E9E61
square
#2E339E #9E2E6B #9E992E #2E9E61
split-complementary
#2E339E #9E612E #6B9E2E
monochromatic
#12143F #20246F #2E339E #4147C8 #7175D6
Accessibility & contrast
On white
10.08
#2E339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2E339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E339E
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E339E | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e339e; /* rgb */ color: rgb(46, 51, 158); /* oklch */ color: oklch(39.2% 0.170 273.4);
Tailwind
colors: {
custom: {
50: '#776bbc',
500: '#2e339e',
950: '#000000',
},
}SCSS
$custom: #2e339e; $custom-light: #776bbc; $custom-dark: #000000;
JSON
{
"hex": "#2e339e",
"rgb": {
"r": 46,
"g": 51,
"b": 158
},
"hsl": {
"h": 237.321,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.39242,
"c": 0.16958,
"h": 273.4
},
"luminance": 0.05417
}Semantic roles & 50–950 ramp
primary
#2E339E
secondary
#BDB96B
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81