#202290#202290

#202290 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.174 H 271.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#202290
RGBrgb(32, 34, 144)
HSLhsl(239, 64%, 35%)
HSVhsv(239, 78%, 56%)
CMYKcmyk(77.8%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.81, 38.28, -60.02)
CIE-LCHlch(21.81, 71.19, 302.53°)
OKLaboklab(34.22% 0.0053 -0.1738)
OKLCHoklch(34.22% 0.174 271.7)
XYZxyz(6.2000, 3.4641, 26.7220)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202290 #908E20
analogous
#205A90 #202290 #562090
triadic
#202290 #902022 #229020
tetradic
#202290 #90205A #908E20 #209056
square
#202290 #90205A #908E20 #209056
split-complementary
#202290 #905620 #5A9020
monochromatic
#0A0A2C #15165E #202290 #2B2EC2 #5254D9

Accessibility & contrast

On white

12.40
#202290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202290
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202290#FFFFFF#000000##FFFFFF
##2022901.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202290;
/* rgb */ color: rgb(32, 34, 144);
/* oklch */ color: oklch(34.2% 0.174 271.7);
Tailwind
colors: {
  custom: {
    50: '#705fb2',
    500: '#202290',
    950: '#000000',
  },
}
SCSS
$custom: #202290;
$custom-light: #705fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#202290",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 238.929,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.17384,
    "h": 271.7
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#202290
secondary
#BCBA50
accent
#E441E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #202290

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

Preview Lab → · Contrast checker → · Palette generator →

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