#2156A7#2156A7

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

Color values

HEX#2156A7
RGBrgb(33, 86, 167)
HSLhsl(216, 67%, 39%)
HSVhsv(216, 80%, 65%)
CMYKcmyk(80.2%, 48.5%, 0%, 34.5%)
CIE-LABlab(37.42, 12.86, -48.53)
CIE-LCHlch(37.42, 50.21, 284.84°)
OKLaboklab(46.46% -0.0271 -0.1395)
OKLCHoklch(46.46% 0.142 259)
XYZxyz(10.9275, 9.7676, 37.8611)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A7 #A77221
analogous
#2199A7 #2156A7 #2F21A7
triadic
#2156A7 #A72156 #56A721
tetradic
#2156A7 #A72199 #A77221 #21A72F
square
#2156A7 #A72199 #A77221 #21A72F
split-complementary
#2156A7 #A72F21 #99A721
monochromatic
#0D2141 #173C74 #2156A7 #2F71D6 #6294E0

Accessibility & contrast

On white

7.11
#2156A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2156A7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A7#FFFFFF#000000##FFFFFF
##2156A71.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285FAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2156a7;
/* rgb */ color: rgb(33, 86, 167);
/* oklch */ color: oklch(46.5% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#7285c2',
    500: '#2156a7',
    950: '#000000',
  },
}
SCSS
$custom: #2156a7;
$custom-light: #7285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a7",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 216.269,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.1421,
    "h": 259
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2156A7

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

Preview Lab → · Contrast checker → · Palette generator →

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