#2156BD#2156BD

#2156BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.172 H 261.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2156BD
RGBrgb(33, 86, 189)
HSLhsl(220, 70%, 44%)
HSVhsv(220, 83%, 74%)
CMYKcmyk(82.5%, 54.5%, 0%, 25.9%)
CIE-LABlab(38.99, 21.50, -58.98)
CIE-LCHlch(38.99, 62.77, 290.03°)
OKLaboklab(48.15% -0.0243 -0.1702)
OKLCHoklch(48.15% 0.172 261.9)
XYZxyz(13.1370, 10.6514, 49.4978)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156BD #BD8821
analogous
#21A4BD #2156BD #3A21BD
triadic
#2156BD #BD2156 #56BD21
tetradic
#2156BD #BD21A4 #BD8821 #21BD3A
square
#2156BD #BD21A4 #BD8821 #21BD3A
split-complementary
#2156BD #BD3A21 #A4BD21
monochromatic
#0F2755 #183E89 #2156BD #3E74DD #729AE6

Accessibility & contrast

On white

6.71
#2156BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2156BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2156BD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156BD#FFFFFF#000000##FFFFFF
##2156BD1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2156bd;
/* rgb */ color: rgb(33, 86, 189);
/* oklch */ color: oklch(48.1% 0.172 261.9);
Tailwind
colors: {
  custom: {
    50: '#7784d2',
    500: '#2156bd',
    950: '#000000',
  },
}
SCSS
$custom: #2156bd;
$custom-light: #7784d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2156bd",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 219.615,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.17195,
    "h": 261.9
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#2156BD
secondary
#CDAC6D
accent
#B03BED
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0A0A14
muted
#7C7C83

Preview Lab

Preview with #2156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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