#2E30AB#2E30AB
#2E30AB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.190 H 273.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30AB |
|---|---|
| RGB | rgb(46, 48, 171) |
| HSL | hsl(239, 58%, 43%) |
| HSV | hsv(239, 73%, 67%) |
| CMYK | cmyk(73.1%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.47, 40.62, -65.49) |
| CIE-LCH | lch(28.47, 77.07, 301.81°) |
| OKLab | oklab(40.04% 0.0102 -0.1894) |
| OKLCH | oklch(40.04% 0.19 273.1) |
| XYZ | xyz(9.5319, 5.6341, 39.1053) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Indigo Blue
#3A18B1
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.19
Blueberry
#464196
ΔE00 6.47
True Blue
#010FCC
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30AB #ABA92E
analogous
#2E6EAB #2E30AB #6A2EAB
triadic
#2E30AB #AB2E30 #30AB2E
tetradic
#2E30AB #AB2E6E #ABA92E #2EAB6A
square
#2E30AB #AB2E6E #ABA92E #2EAB6A
split-complementary
#2E30AB #AB6A2E #6EAB2E
monochromatic
#14154B #21227B #2E30AB #484ACE #797ADB
Accessibility & contrast
On white
9.87
#2E30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2E30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30AB
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30AB | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e30ab; /* rgb */ color: rgb(46, 48, 171); /* oklch */ color: oklch(40.0% 0.190 273.1);
Tailwind
colors: {
custom: {
50: '#7a69c5',
500: '#2e30ab',
950: '#000000',
},
}SCSS
$custom: #2e30ab; $custom-light: #7a69c5; $custom-dark: #000000;
JSON
{
"hex": "#2e30ab",
"rgb": {
"r": 46,
"g": 48,
"b": 171
},
"hsl": {
"h": 239.04,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.40041,
"c": 0.18972,
"h": 273.1
},
"luminance": 0.05635
}Semantic roles & 50–950 ramp
primary
#2E30AB
secondary
#C3C272
accent
#DE47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82