#202090#202090

#202090 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.176 H 272.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#202090
RGBrgb(32, 32, 144)
HSLhsl(240, 64%, 35%)
HSVhsv(240, 78%, 56%)
CMYKcmyk(77.8%, 77.8%, 0%, 43.5%)
CIE-LABlab(21.41, 39.44, -60.70)
CIE-LCHlch(21.41, 72.38, 303.02°)
OKLaboklab(33.93% 0.0061 -0.1757)
OKLCHoklch(33.93% 0.176 272)
XYZxyz(6.1445, 3.3531, 26.7035)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202090 #909020
analogous
#205890 #202090 #582090
triadic
#202090 #902020 #209020
tetradic
#202090 #902058 #909020 #209058
square
#202090 #902058 #909020 #209058
split-complementary
#202090 #905820 #589020
monochromatic
#0A0A2C #15155E #202090 #2B2BC2 #5252D9

Accessibility & contrast

On white

12.57
#202090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202090
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202090#FFFFFF#000000##FFFFFF
##2020901.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202090;
/* rgb */ color: rgb(32, 32, 144);
/* oklch */ color: oklch(33.9% 0.176 272.0);
Tailwind
colors: {
  custom: {
    50: '#705db2',
    500: '#202090',
    950: '#000000',
  },
}
SCSS
$custom: #202090;
$custom-light: #705db2;
$custom-dark: #000000;
JSON
{
  "hex": "#202090",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33934,
    "c": 0.17581,
    "h": 272
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#202090
secondary
#BCBC50
accent
#E741E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #202090

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

Preview Lab → · Contrast checker → · Palette generator →

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