#2156A4#2156A4

#2156A4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.138 H 258.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2156A4
RGBrgb(33, 86, 164)
HSLhsl(216, 66%, 39%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(79.9%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.22, 11.67, -47.07)
CIE-LCHlch(37.22, 48.49, 283.93°)
OKLaboklab(46.24% -0.0276 -0.1352)
OKLCHoklch(46.24% 0.138 258.4)
XYZxyz(10.6534, 9.6580, 36.4175)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A4 #A46F21
analogous
#2197A4 #2156A4 #2D21A4
triadic
#2156A4 #A42156 #56A421
tetradic
#2156A4 #A42197 #A46F21 #21A42D
square
#2156A4 #A42197 #A46F21 #21A42D
split-complementary
#2156A4 #A42D21 #97A421
monochromatic
#0C213E #173B71 #2156A4 #2D71D5 #6094DF

Accessibility & contrast

On white

7.16
#2156A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2156A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A4#FFFFFF#000000##FFFFFF
##2156A41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#0352A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2156a4;
/* rgb */ color: rgb(33, 86, 164);
/* oklch */ color: oklch(46.2% 0.138 258.4);
Tailwind
colors: {
  custom: {
    50: '#7185bf',
    500: '#2156a4',
    950: '#000000',
  },
}
SCSS
$custom: #2156a4;
$custom-light: #7185bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a4",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 215.725,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.13798,
    "h": 258.4
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#2156A4
secondary
#C49A5D
accent
#A43EE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2156A4

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

Preview Lab → · Contrast checker → · Palette generator →

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