#2156A8#2156A8

#2156A8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.143 H 259.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2156A8
RGBrgb(33, 86, 168)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 66%)
CMYKcmyk(80.4%, 48.8%, 0%, 34.1%)
CIE-LABlab(37.49, 13.25, -49.02)
CIE-LCHlch(37.49, 50.78, 285.13°)
OKLaboklab(46.53% -0.027 -0.1409)
OKLCHoklch(46.53% 0.143 259.2)
XYZxyz(11.0203, 9.8048, 38.3499)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A8 #A87321
analogous
#219AA8 #2156A8 #2F21A8
triadic
#2156A8 #A82156 #56A821
tetradic
#2156A8 #A8219A #A87321 #21A82F
square
#2156A8 #A8219A #A87321 #21A82F
split-complementary
#2156A8 #A82F21 #9AA821
monochromatic
#0D2242 #173C75 #2156A8 #3071D6 #6394E0

Accessibility & contrast

On white

7.09
#2156A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2156A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A8#FFFFFF#000000##FFFFFF
##2156A81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2156a8;
/* rgb */ color: rgb(33, 86, 168);
/* oklch */ color: oklch(46.5% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#7285c2',
    500: '#2156a8',
    950: '#000000',
  },
}
SCSS
$custom: #2156a8;
$custom-light: #7285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a8",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 216.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.14348,
    "h": 259.2
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#2156A8
secondary
#C59D5F
accent
#A63EEA
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2156A8

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

Preview Lab → · Contrast checker → · Palette generator →

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