#202155#202155

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

Color values

HEX#202155
RGBrgb(32, 33, 85)
HSLhsl(239, 45%, 23%)
HSVhsv(239, 62%, 33%)
CMYKcmyk(62.4%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.75, 17.18, -31.87)
CIE-LCHlch(15.75, 36.20, 298.32°)
OKLaboklab(28.06% 0.0126 -0.0914)
OKLCHoklch(28.06% 0.092 277.8)
XYZxyz(2.7787, 2.0505, 8.8419)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202155 #555420
analogous
#203B55 #202155 #392055
triadic
#202155 #552021 #215520
tetradic
#202155 #55203B #555420 #205539
square
#202155 #55203B #555420 #205539
split-complementary
#202155 #553920 #3B5520
monochromatic
#080916 #0F1029 #202155 #313281 #4144AE

Accessibility & contrast

On white

14.89
#202155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202155
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202155#FFFFFF#000000##FFFFFF
##2021551.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#022D37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202155;
/* rgb */ color: rgb(32, 33, 85);
/* oklch */ color: oklch(28.1% 0.092 277.8);
Tailwind
colors: {
  custom: {
    50: '#615c85',
    500: '#202155',
    950: '#000000',
  },
}
SCSS
$custom: #202155;
$custom-light: #615c85;
$custom-dark: #000000;
JSON
{
  "hex": "#202155",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 238.868,
    "s": 45.299,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28057,
    "c": 0.09224,
    "h": 277.8
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#202155
secondary
#8A8847
accent
#D353D5
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202155

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

Preview Lab → · Contrast checker → · Palette generator →

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