#2156CA#2156CA

#2156CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.189 H 262.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2156CA
RGBrgb(33, 86, 202)
HSLhsl(221, 72%, 46%)
HSVhsv(221, 84%, 79%)
CMYKcmyk(83.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(39.98, 26.54, -64.91)
CIE-LCHlch(39.98, 70.13, 292.24°)
OKLaboklab(49.21% -0.0234 -0.1877)
OKLCHoklch(49.21% 0.189 262.9)
XYZxyz(14.6118, 11.2414, 57.2653)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156CA #CA9521
analogous
#21AACA #2156CA #4021CA
triadic
#2156CA #CA2156 #56CA21
tetradic
#2156CA #CA21AA #CA9521 #21CA40
square
#2156CA #CA21AA #CA9521 #21CA40
split-complementary
#2156CA #CA4021 #AACA21
monochromatic
#102961 #184095 #2156CA #4777E1 #7C9EEA

Accessibility & contrast

On white

6.46
#2156CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2156CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2156CA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2156CA#FFFFFF#000000##FFFFFF
##2156CA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2156ca;
/* rgb */ color: rgb(33, 86, 202);
/* oklch */ color: oklch(49.2% 0.189 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b85db',
    500: '#2156ca',
    950: '#000000',
  },
}
SCSS
$custom: #2156ca;
$custom-light: #7b85db;
$custom-dark: #000000;
JSON
{
  "hex": "#2156ca",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 221.183,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.18911,
    "h": 262.9
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#2156CA
secondary
#D2B575
accent
#B639EF
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2156CA

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

Preview Lab → · Contrast checker → · Palette generator →

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