#2156C2#2156C2

#2156C2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.179 H 262.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2156C2
RGBrgb(33, 86, 194)
HSLhsl(220, 71%, 45%)
HSVhsv(220, 83%, 76%)
CMYKcmyk(83%, 55.7%, 0%, 23.9%)
CIE-LABlab(39.36, 23.45, -61.28)
CIE-LCHlch(39.36, 65.61, 290.94°)
OKLaboklab(48.55% -0.0239 -0.177)
OKLCHoklch(48.55% 0.179 262.3)
XYZxyz(13.6891, 10.8723, 52.4055)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156C2 #C28D21
analogous
#21A7C2 #2156C2 #3C21C2
triadic
#2156C2 #C22156 #56C221
tetradic
#2156C2 #C221A7 #C28D21 #21C23C
square
#2156C2 #C221A7 #C28D21 #21C23C
split-complementary
#2156C2 #C23C21 #A7C221
monochromatic
#0F2859 #183F8E #2156C2 #4175DF #769BE8

Accessibility & contrast

On white

6.61
#2156C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2156C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2156C2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156C2#FFFFFF#000000##FFFFFF
##2156C21.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2156c2;
/* rgb */ color: rgb(33, 86, 194);
/* oklch */ color: oklch(48.6% 0.179 262.3);
Tailwind
colors: {
  custom: {
    50: '#7985d5',
    500: '#2156c2',
    950: '#000000',
  },
}
SCSS
$custom: #2156c2;
$custom-light: #7985d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2156c2",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 220.248,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.1786,
    "h": 262.3
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#2156C2
secondary
#CFB070
accent
#B33AEE
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2156C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2156C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva