#202793#202793

#202793 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.172 H 270.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#202793
RGBrgb(32, 39, 147)
HSLhsl(236, 64%, 35%)
HSVhsv(236, 78%, 58%)
CMYKcmyk(78.2%, 73.5%, 0%, 42.4%)
CIE-LABlab(23.22, 36.33, -59.56)
CIE-LCHlch(23.22, 69.77, 301.38°)
OKLaboklab(35.32% 0.0025 -0.1725)
OKLCHoklch(35.32% 0.172 270.8)
XYZxyz(6.5859, 3.8640, 27.9968)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202793 #938C20
analogous
#206093 #202793 #532093
triadic
#202793 #932027 #279320
tetradic
#202793 #932060 #938C20 #209353
square
#202793 #932060 #938C20 #209353
split-complementary
#202793 #935320 #609320
monochromatic
#0A0C2E #151A61 #202793 #2B34C5 #545CDA

Accessibility & contrast

On white

11.84
#202793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#202793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202793
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202793#FFFFFF#000000##FFFFFF
##2027931.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202793;
/* rgb */ color: rgb(32, 39, 147);
/* oklch */ color: oklch(35.3% 0.172 270.8);
Tailwind
colors: {
  custom: {
    50: '#7062b4',
    500: '#202793',
    950: '#000000',
  },
}
SCSS
$custom: #202793;
$custom-light: #7062b4;
$custom-dark: #000000;
JSON
{
  "hex": "#202793",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 236.348,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3532,
    "c": 0.17248,
    "h": 270.8
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#202793
secondary
#BDB752
accent
#DD41E7
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202793

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

Preview Lab → · Contrast checker → · Palette generator →

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