#1E51C2#1E51C2
#1E51C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.185 H 263.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1E51C2 |
|---|---|
| RGB | rgb(30, 81, 194) |
| HSL | hsl(221, 73%, 44%) |
| HSV | hsv(221, 85%, 76%) |
| CMYK | cmyk(84.5%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(37.94, 26.51, -63.60) |
| CIE-LCH | lch(37.94, 68.91, 292.63°) |
| OKLab | oklab(47.45% -0.0226 -0.1839) |
| OKLCH | oklch(47.45% 0.185 263) |
| XYZ | xyz(13.2120, 10.0543, 52.2728) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.88
Cobalt
#0047AB
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.73
Denim
#1560BD
ΔE00 5.91
Warm Blue
#4B57DB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E51C2 #C28F1E
analogous
#1EA3C2 #1E51C2 #3D1EC2
triadic
#1E51C2 #C21E51 #51C21E
tetradic
#1E51C2 #C21EA3 #C28F1E #1EC23D
square
#1E51C2 #C21EA3 #C28F1E #1EC23D
split-complementary
#1E51C2 #C23D1E #A3C21E
monochromatic
#0E2558 #163B8D #1E51C2 #3C6FE1 #7197E9
Accessibility & contrast
On white
6.97
#1E51C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1E51C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1E51C2
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E51C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E51C2 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1e51c2; /* rgb */ color: rgb(30, 81, 194); /* oklch */ color: oklch(47.5% 0.185 263.0);
Tailwind
colors: {
custom: {
50: '#7881d5',
500: '#1e51c2',
950: '#000000',
},
}SCSS
$custom: #1e51c2; $custom-light: #7881d5; $custom-dark: #000000;
JSON
{
"hex": "#1e51c2",
"rgb": {
"r": 30,
"g": 81,
"b": 194
},
"hsl": {
"h": 221.341,
"s": 73.214,
"l": 43.922
},
"oklch": {
"l": 0.47454,
"c": 0.18533,
"h": 263
},
"luminance": 0.10056
}Semantic roles & 50–950 ramp
primary
#1E51C2
secondary
#D0B16C
accent
#B738F0
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83