#2E30A2#2E30A2
#2E30A2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.178 H 273.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30A2 |
|---|---|
| RGB | rgb(46, 48, 162) |
| HSL | hsl(239, 56%, 41%) |
| HSV | hsv(239, 72%, 64%) |
| CMYK | cmyk(71.6%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(27.58, 37.52, -61.53) |
| CIE-LCH | lch(27.58, 72.06, 301.37°) |
| OKLab | oklab(39.13% 0.0116 -0.1779) |
| OKLCH | oklch(39.13% 0.178 273.7) |
| XYZ | xyz(8.7031, 5.3025, 34.7402) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 5.65
Blueberry
#464196
ΔE00 5.96
Royal
#0C1793
ΔE00 6.39
Ocean Blue
#4F42B5
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30A2 #A2A02E
analogous
#2E6AA2 #2E30A2 #662EA2
triadic
#2E30A2 #A22E30 #30A22E
tetradic
#2E30A2 #A22E6A #A2A02E #2EA266
square
#2E30A2 #A22E6A #A2A02E #2EA266
split-complementary
#2E30A2 #A2662E #6AA22E
monochromatic
#131443 #202272 #2E30A2 #4346CA #7375D7
Accessibility & contrast
On white
10.19
#2E30A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2E30A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30A2
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30A2 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e30a2; /* rgb */ color: rgb(46, 48, 162); /* oklch */ color: oklch(39.1% 0.178 273.7);
Tailwind
colors: {
custom: {
50: '#7869bf',
500: '#2e30a2',
950: '#000000',
},
}SCSS
$custom: #2e30a2; $custom-light: #7869bf; $custom-dark: #000000;
JSON
{
"hex": "#2e30a2",
"rgb": {
"r": 46,
"g": 48,
"b": 162
},
"hsl": {
"h": 238.966,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.39134,
"c": 0.17824,
"h": 273.7
},
"luminance": 0.05303
}Semantic roles & 50–950 ramp
primary
#2E30A2
secondary
#BFBE6D
accent
#DC49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81