#2E309E#2E309E
#2E309E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.173 H 274.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2E309E |
|---|---|
| RGB | rgb(46, 48, 158) |
| HSL | hsl(239, 55%, 40%) |
| HSV | hsv(239, 71%, 62%) |
| CMYK | cmyk(70.9%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(27.19, 36.12, -59.73) |
| CIE-LCH | lch(27.19, 69.81, 301.16°) |
| OKLab | oklab(38.74% 0.0121 -0.1726) |
| OKLCH | oklch(38.74% 0.173 274) |
| XYZ | xyz(8.3532, 5.1626, 32.8974) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Blueberry
#464196
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 5.96
Royal
#0C1793
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E309E #9E9C2E
analogous
#2E689E #2E309E #642E9E
triadic
#2E309E #9E2E30 #309E2E
tetradic
#2E309E #9E2E68 #9E9C2E #2E9E64
square
#2E309E #9E2E68 #9E9C2E #2E9E64
split-complementary
#2E309E #9E642E #689E2E
monochromatic
#12133F #20226F #2E309E #4144C8 #7173D6
Accessibility & contrast
On white
10.33
#2E309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E309E
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E309E | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e309e; /* rgb */ color: rgb(46, 48, 158); /* oklch */ color: oklch(38.7% 0.173 274.0);
Tailwind
colors: {
custom: {
50: '#7769bc',
500: '#2e309e',
950: '#000000',
},
}SCSS
$custom: #2e309e; $custom-light: #7769bc; $custom-dark: #000000;
JSON
{
"hex": "#2e309e",
"rgb": {
"r": 46,
"g": 48,
"b": 158
},
"hsl": {
"h": 238.929,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.38738,
"c": 0.17305,
"h": 274
},
"luminance": 0.05163
}Semantic roles & 50–950 ramp
primary
#2E309E
secondary
#BDBC6B
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81