#202790#202790

#202790 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.169 H 271.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#202790
RGBrgb(32, 39, 144)
HSLhsl(236, 64%, 35%)
HSVhsv(236, 78%, 56%)
CMYKcmyk(77.8%, 72.9%, 0%, 43.5%)
CIE-LABlab(22.90, 35.25, -58.23)
CIE-LCHlch(22.90, 68.07, 301.19°)
OKLaboklab(35% 0.0029 -0.1686)
OKLCHoklch(35% 0.169 271)
XYZxyz(6.3535, 3.7710, 26.7732)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202790 #908920
analogous
#205F90 #202790 #512090
triadic
#202790 #902027 #279020
tetradic
#202790 #90205F #908920 #209051
square
#202790 #90205F #908920 #209051
split-complementary
#202790 #905120 #5F9020
monochromatic
#0A0C2C #15195E #202790 #2B35C2 #525AD9

Accessibility & contrast

On white

11.97
#202790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202790
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202790#FFFFFF#000000##FFFFFF
##2027901.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202790;
/* rgb */ color: rgb(32, 39, 144);
/* oklch */ color: oklch(35.0% 0.169 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f62b2',
    500: '#202790',
    950: '#000000',
  },
}
SCSS
$custom: #202790;
$custom-light: #6f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#202790",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 236.25,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34998,
    "c": 0.1686,
    "h": 271
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#202790
secondary
#BCB550
accent
#DC41E7
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202790

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

Preview Lab → · Contrast checker → · Palette generator →

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