#2E30AE#2E30AE
#2E30AE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.193 H 272.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30AE |
|---|---|
| RGB | rgb(46, 48, 174) |
| HSL | hsl(239, 58%, 43%) |
| HSV | hsv(239, 74%, 68%) |
| CMYK | cmyk(73.6%, 72.4%, 0%, 31.8%) |
| CIE-LAB | lab(28.77, 41.64, -66.79) |
| CIE-LCH | lch(28.77, 78.71, 301.94°) |
| OKLab | oklab(40.35% 0.0098 -0.1932) |
| OKLCH | oklch(40.35% 0.193 272.9) |
| XYZ | xyz(9.8211, 5.7497, 40.6284) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 5.97
True Blue
#010FCC
ΔE00 6.31
Blue With A Hint Of Purple
#533CC6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30AE #AEAC2E
analogous
#2E70AE #2E30AE #6C2EAE
triadic
#2E30AE #AE2E30 #30AE2E
tetradic
#2E30AE #AE2E70 #AEAC2E #2EAE6C
square
#2E30AE #AE2E70 #AEAC2E #2EAE6C
split-complementary
#2E30AE #AE6C2E #70AE2E
monochromatic
#14154D #21237E #2E30AE #4A4CCF #7A7CDC
Accessibility & contrast
On white
9.77
#2E30AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2E30AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30AE
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30AE | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e30ae; /* rgb */ color: rgb(46, 48, 174); /* oklch */ color: oklch(40.3% 0.193 272.9);
Tailwind
colors: {
custom: {
50: '#7b69c7',
500: '#2e30ae',
950: '#000000',
},
}SCSS
$custom: #2e30ae; $custom-light: #7b69c7; $custom-dark: #000000;
JSON
{
"hex": "#2e30ae",
"rgb": {
"r": 46,
"g": 48,
"b": 174
},
"hsl": {
"h": 239.063,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.40349,
"c": 0.19349,
"h": 272.9
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#2E30AE
secondary
#C4C374
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82