#2156AD#2156AD

#2156AD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.150 H 260.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2156AD
RGBrgb(33, 86, 173)
HSLhsl(217, 68%, 40%)
HSVhsv(217, 81%, 68%)
CMYKcmyk(80.9%, 50.3%, 0%, 32.2%)
CIE-LABlab(37.83, 15.23, -51.43)
CIE-LCHlch(37.83, 53.64, 286.49°)
OKLaboklab(46.9% -0.0262 -0.148)
OKLCHoklch(46.9% 0.15 260)
XYZxyz(11.4951, 9.9947, 40.8504)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156AD #AD7821
analogous
#219CAD #2156AD #3221AD
triadic
#2156AD #AD2156 #56AD21
tetradic
#2156AD #AD219C #AD7821 #21AD32
square
#2156AD #AD219C #AD7821 #21AD32
split-complementary
#2156AD #AD3221 #9CAD21
monochromatic
#0D2346 #173C7A #2156AD #3372D8 #6695E2

Accessibility & contrast

On white

7.00
#2156AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2156AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2156AD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156AD#FFFFFF#000000##FFFFFF
##2156AD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2156ad;
/* rgb */ color: rgb(33, 86, 173);
/* oklch */ color: oklch(46.9% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#7385c6',
    500: '#2156ad',
    950: '#000000',
  },
}
SCSS
$custom: #2156ad;
$custom-light: #7385c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2156ad",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 217.286,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.15032,
    "h": 260
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2156AD

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

Preview Lab → · Contrast checker → · Palette generator →

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