#2156A1#2156A1

#2156A1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.0% C 0.134 H 257.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2156A1
RGBrgb(33, 86, 161)
HSLhsl(215, 66%, 38%)
HSVhsv(215, 80%, 63%)
CMYKcmyk(79.5%, 46.6%, 0%, 36.9%)
CIE-LABlab(37.02, 10.49, -45.59)
CIE-LCHlch(37.02, 46.78, 282.95°)
OKLaboklab(46.02% -0.0282 -0.1308)
OKLCHoklch(46.02% 0.134 257.8)
XYZxyz(10.3856, 9.5509, 35.0074)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156A1 #A16C21
analogous
#2196A1 #2156A1 #2C21A1
triadic
#2156A1 #A12156 #56A121
tetradic
#2156A1 #A12196 #A16C21 #21A12C
square
#2156A1 #A12196 #A16C21 #21A12C
split-complementary
#2156A1 #A12C21 #96A121
monochromatic
#0C203B #173B6E #2156A1 #2C71D4 #5E93DE

Accessibility & contrast

On white

7.22
#2156A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2156A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2156A1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156A1#FFFFFF#000000##FFFFFF
##2156A11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA4
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2156a1;
/* rgb */ color: rgb(33, 86, 161);
/* oklch */ color: oklch(46.0% 0.134 257.8);
Tailwind
colors: {
  custom: {
    50: '#7185bd',
    500: '#2156a1',
    950: '#000000',
  },
}
SCSS
$custom: #2156a1;
$custom-light: #7185bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2156a1",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 161
  },
  "hsl": {
    "h": 215.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46021,
    "c": 0.13384,
    "h": 257.8
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#2156A1
secondary
#C3985B
accent
#A33FE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2156A1

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

Preview Lab → · Contrast checker → · Palette generator →

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