#156AE2#156AE2
#156AE2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.0% C 0.198 H 259.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #156AE2 |
|---|---|
| RGB | rgb(21, 106, 226) |
| HSL | hsl(215, 83%, 48%) |
| HSV | hsv(215, 91%, 89%) |
| CMYK | cmyk(90.7%, 53.1%, 0%, 11.4%) |
| CIE-LAB | lab(46.92, 22.11, -67.37) |
| CIE-LCH | lch(46.92, 70.90, 288.17°) |
| OKLab | oklab(54.96% -0.038 -0.1946) |
| OKLCH | oklch(54.96% 0.198 259) |
| XYZ | xyz(19.1857, 15.9559, 74.0054) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cerulean Blue
#056EEE
ΔE00 1.95
Royal Blue
#4169E1
ΔE00 3.55
Bright Blue
#0165FC
ΔE00 3.75
Deep Sky Blue
#0D75F8
ΔE00 4.67
Medium Blue
#2C6FBB
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#156AE2 #E28D15
analogous
#15D0E2 #156AE2 #2615E2
triadic
#156AE2 #E2156A #6AE215
tetradic
#156AE2 #E215D0 #E28D15 #15E226
square
#156AE2 #E215D0 #E28D15 #15E226
split-complementary
#156AE2 #E22615 #D0E215
monochromatic
#0B3572 #1050AA #156AE2 #468CEE #7EAFF3
Accessibility & contrast
On white
5.01
#156AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#156AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #156AE2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##156AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##156AE2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #156ae2; /* rgb */ color: rgb(21, 106, 226); /* oklch */ color: oklch(55.0% 0.198 259.0);
Tailwind
colors: {
custom: {
50: '#7d93ec',
500: '#156ae2',
950: '#000000',
},
}SCSS
$custom: #156ae2; $custom-light: #7d93ec; $custom-dark: #000000;
JSON
{
"hex": "#156ae2",
"rgb": {
"r": 21,
"g": 106,
"b": 226
},
"hsl": {
"h": 215.122,
"s": 82.996,
"l": 48.431
},
"oklch": {
"l": 0.54962,
"c": 0.19827,
"h": 259
},
"luminance": 0.15958
}Semantic roles & 50–950 ramp
primary
#156AE2
secondary
#DBB278
accent
#A52EF9
background
#F8F9FE
surface
#F0F1FD
border
#CBCBD5
text
#0C0D16
muted
#7D7E84