#2156A6#2156A6

#2156A6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.141 H 258.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2156A6
RGBrgb(33, 86, 166)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(80.1%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.35, 12.46, -48.05)
CIE-LCHlch(37.35, 49.64, 284.54°)
OKLaboklab(46.38% -0.0273 -0.1381)
OKLCHoklch(46.38% 0.141 258.8)
XYZxyz(10.8354, 9.7308, 37.3762)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A6 #A67121
analogous
#2199A6 #2156A6 #2F21A6
triadic
#2156A6 #A62156 #56A621
tetradic
#2156A6 #A62199 #A67121 #21A62F
square
#2156A6 #A62199 #A67121 #21A62F
split-complementary
#2156A6 #A62F21 #99A621
monochromatic
#0D2140 #173C73 #2156A6 #2F71D6 #6294E0

Accessibility & contrast

On white

7.13
#2156A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2156A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A6#FFFFFF#000000##FFFFFF
##2156A61.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2156a6;
/* rgb */ color: rgb(33, 86, 166);
/* oklch */ color: oklch(46.4% 0.141 258.8);
Tailwind
colors: {
  custom: {
    50: '#7285c1',
    500: '#2156a6',
    950: '#000000',
  },
}
SCSS
$custom: #2156a6;
$custom-light: #7285c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a6",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 216.09,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46382,
    "c": 0.14073,
    "h": 258.8
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#2156A6
secondary
#C59C5E
accent
#A53EEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2156A6

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

Preview Lab → · Contrast checker → · Palette generator →

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