#2E30BC#2E30BC
#2E30BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.211 H 272.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E30BC |
|---|---|
| RGB | rgb(46, 48, 188) |
| HSL | hsl(239, 61%, 46%) |
| HSV | hsv(239, 76%, 74%) |
| CMYK | cmyk(75.5%, 74.5%, 0%, 26.3%) |
| CIE-LAB | lab(30.22, 46.34, -72.74) |
| CIE-LCH | lch(30.22, 86.24, 302.50°) |
| OKLab | oklab(41.81% 0.0075 -0.2105) |
| OKLCH | oklch(41.81% 0.211 272) |
| XYZ | xyz(11.2577, 6.3244, 48.1946) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Indigo Blue
#3A18B1
ΔE00 5.09
Blue Blue
#2242C7
ΔE00 5.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Blurple
#5539CC
ΔE00 5.54
True Blue
#010FCC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E30BC #BCBA2E
analogous
#2E77BC #2E30BC #732EBC
triadic
#2E30BC #BC2E30 #30BC2E
tetradic
#2E30BC #BC2E77 #BCBA2E #2EBC73
square
#2E30BC #BC2E77 #BCBA2E #2EBC73
split-complementary
#2E30BC #BC732E #77BC2E
monochromatic
#16175A #22238B #2E30BC #5254D5 #8485E1
Accessibility & contrast
On white
9.27
#2E30BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2E30BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E30BC
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E30BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E30BC | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2e30bc; /* rgb */ color: rgb(46, 48, 188); /* oklch */ color: oklch(41.8% 0.211 272.0);
Tailwind
colors: {
custom: {
50: '#7e6ad1',
500: '#2e30bc',
950: '#000000',
},
}SCSS
$custom: #2e30bc; $custom-light: #7e6ad1; $custom-dark: #000000;
JSON
{
"hex": "#2e30bc",
"rgb": {
"r": 46,
"g": 48,
"b": 188
},
"hsl": {
"h": 239.155,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.41808,
"c": 0.21067,
"h": 272
},
"luminance": 0.06326
}Semantic roles & 50–950 ramp
primary
#2E30BC
secondary
#CAC97C
accent
#E244E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83