#202885#202885

#202885 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.153 H 271.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#202885
RGBrgb(32, 40, 133)
HSLhsl(235, 61%, 32%)
HSVhsv(235, 76%, 52%)
CMYKcmyk(75.9%, 69.9%, 0%, 47.8%)
CIE-LABlab(22.01, 30.58, -52.83)
CIE-LCHlch(22.01, 61.05, 300.06°)
OKLaboklab(34.01% 0.0037 -0.1528)
OKLCHoklch(34.01% 0.153 271.4)
XYZxyz(5.5867, 3.5175, 22.5703)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202885 #857D20
analogous
#205A85 #202885 #4B2085
triadic
#202885 #852028 #288520
tetradic
#202885 #85205A #857D20 #20854B
square
#202885 #85205A #857D20 #20854B
split-complementary
#202885 #854B20 #5A8520
monochromatic
#080A22 #141954 #202885 #2C37B6 #4C56D4

Accessibility & contrast

On white

12.33
#202885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202885
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202885#FFFFFF#000000##FFFFFF
##2028851.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202885;
/* rgb */ color: rgb(32, 40, 133);
/* oklch */ color: oklch(34.0% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c62a9',
    500: '#202885',
    950: '#000000',
  },
}
SCSS
$custom: #202885;
$custom-light: #6c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202885",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 235.248,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.15288,
    "h": 271.4
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#202885
secondary
#B7AE4A
accent
#D843E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202885

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

Preview Lab → · Contrast checker → · Palette generator →

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