#2156A5#2156A5

#2156A5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.139 H 258.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2156A5
RGBrgb(33, 86, 165)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(80%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.29, 12.07, -47.56)
CIE-LCHlch(37.29, 49.06, 284.24°)
OKLaboklab(46.31% -0.0275 -0.1366)
OKLCHoklch(46.31% 0.139 258.6)
XYZxyz(10.7440, 9.6942, 36.8949)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A5 #A57021
analogous
#2198A5 #2156A5 #2E21A5
triadic
#2156A5 #A52156 #56A521
tetradic
#2156A5 #A52198 #A57021 #21A52E
square
#2156A5 #A52198 #A57021 #21A52E
split-complementary
#2156A5 #A52E21 #98A521
monochromatic
#0D213F #173B72 #2156A5 #2E71D5 #6194DF

Accessibility & contrast

On white

7.14
#2156A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2156A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A5#FFFFFF#000000##FFFFFF
##2156A51.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2156a5;
/* rgb */ color: rgb(33, 86, 165);
/* oklch */ color: oklch(46.3% 0.139 258.6);
Tailwind
colors: {
  custom: {
    50: '#7285c0',
    500: '#2156a5',
    950: '#000000',
  },
}
SCSS
$custom: #2156a5;
$custom-light: #7285c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a5",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 215.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.13935,
    "h": 258.6
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2156A5

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

Preview Lab → · Contrast checker → · Palette generator →

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