#202888#202888

#202888 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.157 H 271.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#202888
RGBrgb(32, 40, 136)
HSLhsl(235, 62%, 33%)
HSVhsv(235, 76%, 53%)
CMYKcmyk(76.5%, 70.6%, 0%, 46.7%)
CIE-LABlab(22.31, 31.69, -54.22)
CIE-LCHlch(22.31, 62.80, 300.31°)
OKLaboklab(34.32% 0.0034 -0.1569)
OKLCHoklch(34.32% 0.157 271.2)
XYZxyz(5.7969, 3.6016, 23.6775)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202888 #888020
analogous
#205C88 #202888 #4C2088
triadic
#202888 #882028 #288820
tetradic
#202888 #88205C #888020 #20884C
square
#202888 #88205C #888020 #20884C
split-complementary
#202888 #884C20 #5C8820
monochromatic
#090B25 #141956 #202888 #2C37BA #4D58D5

Accessibility & contrast

On white

12.21
#202888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202888
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202888#FFFFFF#000000##FFFFFF
##2028881.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202888;
/* rgb */ color: rgb(32, 40, 136);
/* oklch */ color: oklch(34.3% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d62ac',
    500: '#202888',
    950: '#000000',
  },
}
SCSS
$custom: #202888;
$custom-light: #6d62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202888",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 235.385,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34323,
    "c": 0.15692,
    "h": 271.2
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#202888
secondary
#B8B04C
accent
#D943E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202888

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

Preview Lab → · Contrast checker → · Palette generator →

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