#2E30B5#2E30B5
#2E30B5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.202 H 272.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30B5 |
|---|---|
| RGB | rgb(46, 48, 181) |
| HSL | hsl(239, 59%, 45%) |
| HSV | hsv(239, 75%, 71%) |
| CMYK | cmyk(74.6%, 73.5%, 0%, 29%) |
| CIE-LAB | lab(29.49, 44.01, -69.79) |
| CIE-LCH | lch(29.49, 82.51, 302.24°) |
| OKLab | oklab(41.07% 0.0086 -0.202) |
| OKLCH | oklch(41.07% 0.202 272.4) |
| XYZ | xyz(10.5214, 6.0298, 44.3165) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Indigo Blue
#3A18B1
ΔE00 4.97
Blue Blue
#2242C7
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 5.77
True Blue
#010FCC
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30B5 #B5B32E
analogous
#2E74B5 #2E30B5 #702EB5
triadic
#2E30B5 #B52E30 #30B52E
tetradic
#2E30B5 #B52E74 #B5B32E #2EB570
square
#2E30B5 #B52E74 #B5B32E #2EB570
split-complementary
#2E30B5 #B5702E #74B52E
monochromatic
#151653 #222384 #2E30B5 #4E50D2 #7F80DE
Accessibility & contrast
On white
9.52
#2E30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2E30B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30B5
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30B5 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e30b5; /* rgb */ color: rgb(46, 48, 181); /* oklch */ color: oklch(41.1% 0.202 272.4);
Tailwind
colors: {
custom: {
50: '#7d6acc',
500: '#2e30b5',
950: '#000000',
},
}SCSS
$custom: #2e30b5; $custom-light: #7d6acc; $custom-dark: #000000;
JSON
{
"hex": "#2e30b5",
"rgb": {
"r": 46,
"g": 48,
"b": 181
},
"hsl": {
"h": 239.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.41073,
"c": 0.20215,
"h": 272.4
},
"luminance": 0.06031
}Semantic roles & 50–950 ramp
primary
#2E30B5
secondary
#C7C678
accent
#E045E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82