#2156AC#2156AC

#2156AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.149 H 259.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2156AC
RGBrgb(33, 86, 172)
HSLhsl(217, 68%, 40%)
HSVhsv(217, 81%, 67%)
CMYKcmyk(80.8%, 50%, 0%, 32.5%)
CIE-LABlab(37.76, 14.83, -50.95)
CIE-LCHlch(37.76, 53.07, 286.23°)
OKLaboklab(46.83% -0.0264 -0.1466)
OKLCHoklch(46.83% 0.149 259.8)
XYZxyz(11.3987, 9.9561, 40.3427)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156AC #AC7721
analogous
#219CAC #2156AC #3121AC
triadic
#2156AC #AC2156 #56AC21
tetradic
#2156AC #AC219C #AC7721 #21AC31
square
#2156AC #AC219C #AC7721 #21AC31
split-complementary
#2156AC #AC3121 #9CAC21
monochromatic
#0D2345 #173C79 #2156AC #3271D8 #6695E2

Accessibility & contrast

On white

7.02
#2156AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2156AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156AC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156AC#FFFFFF#000000##FFFFFF
##2156AC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2156ac;
/* rgb */ color: rgb(33, 86, 172);
/* oklch */ color: oklch(46.8% 0.149 259.8);
Tailwind
colors: {
  custom: {
    50: '#7385c5',
    500: '#2156ac',
    950: '#000000',
  },
}
SCSS
$custom: #2156ac;
$custom-light: #7385c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2156ac",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 217.122,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.14896,
    "h": 259.8
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#2156AC
secondary
#C7A062
accent
#A93DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2156AC

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

Preview Lab → · Contrast checker → · Palette generator →

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