#2E309F#2E309F
#2E309F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.174 H 273.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2E309F |
|---|---|
| RGB | rgb(46, 48, 159) |
| HSL | hsl(239, 55%, 40%) |
| HSV | hsv(239, 71%, 62%) |
| CMYK | cmyk(71.1%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(27.29, 36.47, -60.18) |
| CIE-LCH | lch(27.29, 70.37, 301.22°) |
| OKLab | oklab(38.84% 0.012 -0.1739) |
| OKLCH | oklch(38.84% 0.174 273.9) |
| XYZ | xyz(8.4396, 5.1971, 33.3525) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Blueberry
#464196
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 5.88
Royal
#0C1793
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.39
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E309F #9F9D2E
analogous
#2E689F #2E309F #642E9F
triadic
#2E309F #9F2E30 #309F2E
tetradic
#2E309F #9F2E68 #9F9D2E #2E9F64
square
#2E309F #9F2E68 #9F9D2E #2E9F64
split-complementary
#2E309F #9F642E #689F2E
monochromatic
#131340 #202270 #2E309F #4244C8 #7173D6
Accessibility & contrast
On white
10.30
#2E309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2E309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E309F
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E309F | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e309f; /* rgb */ color: rgb(46, 48, 159); /* oklch */ color: oklch(38.8% 0.174 273.9);
Tailwind
colors: {
custom: {
50: '#7769bc',
500: '#2e309f',
950: '#000000',
},
}SCSS
$custom: #2e309f; $custom-light: #7769bc; $custom-dark: #000000;
JSON
{
"hex": "#2e309f",
"rgb": {
"r": 46,
"g": 48,
"b": 159
},
"hsl": {
"h": 238.938,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.38836,
"c": 0.17436,
"h": 273.9
},
"luminance": 0.05198
}Semantic roles & 50–950 ramp
primary
#2E309F
secondary
#BEBC6B
accent
#DC49DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81