#202986#202986

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

Color values

HEX#202986
RGBrgb(32, 41, 134)
HSLhsl(235, 61%, 33%)
HSVhsv(235, 76%, 53%)
CMYKcmyk(76.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.35, 30.29, -52.90)
CIE-LCHlch(22.35, 60.96, 299.80°)
OKLaboklab(34.29% 0.003 -0.153)
OKLCHoklch(34.29% 0.153 271.1)
XYZxyz(5.6902, 3.6136, 22.9472)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202986 #867D20
analogous
#205C86 #202986 #4A2086
triadic
#202986 #862029 #298620
tetradic
#202986 #86205C #867D20 #20864A
square
#202986 #86205C #867D20 #20864A
split-complementary
#202986 #864A20 #5C8620
monochromatic
#080B23 #141A55 #202986 #2C38B7 #4C58D4

Accessibility & contrast

On white

12.19
#202986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202986
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202986#FFFFFF#000000##FFFFFF
##2029861.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202986;
/* rgb */ color: rgb(32, 41, 134);
/* oklch */ color: oklch(34.3% 0.153 271.1);
Tailwind
colors: {
  custom: {
    50: '#6d63aa',
    500: '#202986',
    950: '#000000',
  },
}
SCSS
$custom: #202986;
$custom-light: #6d63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#202986",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 234.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34293,
    "c": 0.15304,
    "h": 271.1
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#202986
secondary
#B7AE4B
accent
#D643E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202986

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

Preview Lab → · Contrast checker → · Palette generator →

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