#202156#202156

#202156 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.094 H 277.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#202156
RGBrgb(32, 33, 86)
HSLhsl(239, 46%, 23%)
HSVhsv(239, 63%, 34%)
CMYKcmyk(62.8%, 61.6%, 0%, 66.3%)
CIE-LABlab(15.83, 17.56, -32.41)
CIE-LCHlch(15.83, 36.86, 298.45°)
OKLaboklab(28.14% 0.0126 -0.093)
OKLCHoklch(28.14% 0.094 277.7)
XYZxyz(2.8187, 2.0665, 9.0526)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202156 #565520
analogous
#203C56 #202156 #3A2056
triadic
#202156 #562021 #215620
tetradic
#202156 #56203C #565520 #20563A
square
#202156 #56203C #565520 #20563A
split-complementary
#202156 #563A20 #3C5620
monochromatic
#080916 #0F1029 #202156 #313283 #4143AF

Accessibility & contrast

On white

14.86
#202156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#202156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202156
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202156#FFFFFF#000000##FFFFFF
##2021561.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#012D37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202156;
/* rgb */ color: rgb(32, 33, 86);
/* oklch */ color: oklch(28.1% 0.094 277.7);
Tailwind
colors: {
  custom: {
    50: '#625c86',
    500: '#202156',
    950: '#000000',
  },
}
SCSS
$custom: #202156;
$custom-light: #625c86;
$custom-dark: #000000;
JSON
{
  "hex": "#202156",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 238.889,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28145,
    "c": 0.09381,
    "h": 277.7
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#202156
secondary
#8B8947
accent
#D352D5
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202156

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

Preview Lab → · Contrast checker → · Palette generator →

#202156 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva