#2E30AA#2E30AA
#2E30AA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.188 H 273.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30AA |
|---|---|
| RGB | rgb(46, 48, 170) |
| HSL | hsl(239, 57%, 42%) |
| HSV | hsv(239, 73%, 67%) |
| CMYK | cmyk(72.9%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(28.37, 40.28, -65.06) |
| CIE-LCH | lch(28.37, 76.51, 301.76°) |
| OKLab | oklab(39.94% 0.0104 -0.1882) |
| OKLCH | oklch(39.94% 0.188 273.2) |
| XYZ | xyz(9.4369, 5.5961, 38.6052) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Indigo Blue
#3A18B1
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 6.12
Blue Blue
#2242C7
ΔE00 6.27
Blueberry
#464196
ΔE00 6.41
True Blue
#010FCC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30AA #AAA82E
analogous
#2E6EAA #2E30AA #6A2EAA
triadic
#2E30AA #AA2E30 #30AA2E
tetradic
#2E30AA #AA2E6E #AAA82E #2EAA6A
square
#2E30AA #AA2E6E #AAA82E #2EAA6A
split-complementary
#2E30AA #AA6A2E #6EAA2E
monochromatic
#14154A #21227A #2E30AA #484ACD #787ADA
Accessibility & contrast
On white
9.91
#2E30AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2E30AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30AA
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30AA | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e30aa; /* rgb */ color: rgb(46, 48, 170); /* oklch */ color: oklch(39.9% 0.188 273.2);
Tailwind
colors: {
custom: {
50: '#7a69c4',
500: '#2e30aa',
950: '#000000',
},
}SCSS
$custom: #2e30aa; $custom-light: #7a69c4; $custom-dark: #000000;
JSON
{
"hex": "#2e30aa",
"rgb": {
"r": 46,
"g": 48,
"b": 170
},
"hsl": {
"h": 239.032,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.3994,
"c": 0.18846,
"h": 273.2
},
"luminance": 0.05597
}Semantic roles & 50–950 ramp
primary
#2E30AA
secondary
#C3C171
accent
#DE47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82