#202393#202393

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

Color values

HEX#202393
RGBrgb(32, 35, 147)
HSLhsl(238, 64%, 35%)
HSVhsv(238, 78%, 58%)
CMYKcmyk(78.2%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.36, 38.74, -60.99)
CIE-LCHlch(22.36, 72.25, 302.42°)
OKLaboklab(34.71% 0.0043 -0.1766)
OKLCHoklch(34.71% 0.177 271.4)
XYZxyz(6.4614, 3.6150, 27.9553)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202393 #939020
analogous
#205C93 #202393 #572093
triadic
#202393 #932023 #239320
tetradic
#202393 #93205C #939020 #209357
square
#202393 #93205C #939020 #209357
split-complementary
#202393 #935720 #5C9320
monochromatic
#0A0B2E #151761 #202393 #2B2FC5 #5457DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##202393#FFFFFF#000000##FFFFFF
##2023931.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)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202393;
/* rgb */ color: rgb(32, 35, 147);
/* oklch */ color: oklch(34.7% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#715fb4',
    500: '#202393',
    950: '#000000',
  },
}
SCSS
$custom: #202393;
$custom-light: #715fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#202393",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 238.435,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.17662,
    "h": 271.4
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#202393
secondary
#BDBA52
accent
#E341E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202393

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

Preview Lab → · Contrast checker → · Palette generator →

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