#2156AA#2156AA

#2156AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.146 H 259.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2156AA
RGBrgb(33, 86, 170)
HSLhsl(217, 67%, 40%)
HSVhsv(217, 81%, 67%)
CMYKcmyk(80.6%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.63, 14.04, -49.99)
CIE-LCHlch(37.63, 51.92, 285.69°)
OKLaboklab(46.68% -0.0267 -0.1438)
OKLCHoklch(46.68% 0.146 259.5)
XYZxyz(11.2080, 9.8799, 39.3387)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2156AA #AA7521
analogous
#219BAA #2156AA #3021AA
triadic
#2156AA #AA2156 #56AA21
tetradic
#2156AA #AA219B #AA7521 #21AA30
square
#2156AA #AA219B #AA7521 #21AA30
split-complementary
#2156AA #AA3021 #9BAA21
monochromatic
#0D2243 #173C77 #2156AA #3171D7 #6495E1

Accessibility & contrast

On white

7.06
#2156AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2156AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2156AA#FFFFFF#000000##FFFFFF
##2156AA1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2156aa;
/* rgb */ color: rgb(33, 86, 170);
/* oklch */ color: oklch(46.7% 0.146 259.5);
Tailwind
colors: {
  custom: {
    50: '#7385c4',
    500: '#2156aa',
    950: '#000000',
  },
}
SCSS
$custom: #2156aa;
$custom-light: #7385c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2156aa",
  "rgb": {
    "r": 33,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 216.788,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.14622,
    "h": 259.5
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#2156AA
secondary
#C69F61
accent
#A73DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2156AA

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

Preview Lab → · Contrast checker → · Palette generator →

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