#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
RGBrgb(21, 106, 226)
HSLhsl(215, 83%, 48%)
HSVhsv(215, 91%, 89%)
CMYKcmyk(90.7%, 53.1%, 0%, 11.4%)
CIE-LABlab(46.92, 22.11, -67.37)
CIE-LCHlch(46.92, 70.90, 288.17°)
OKLaboklab(54.96% -0.038 -0.1946)
OKLCHoklch(54.96% 0.198 259)
XYZxyz(19.1857, 15.9559, 74.0054)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##156AE21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.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

Preview Lab

Preview with #156AE2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#156AE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva