#202794#202794

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

Color values

HEX#202794
RGBrgb(32, 39, 148)
HSLhsl(236, 64%, 35%)
HSVhsv(236, 78%, 58%)
CMYKcmyk(78.4%, 73.6%, 0%, 42%)
CIE-LABlab(23.32, 36.69, -60.01)
CIE-LCHlch(23.32, 70.33, 301.44°)
OKLaboklab(35.43% 0.0024 -0.1737)
OKLCHoklch(35.43% 0.174 270.8)
XYZxyz(6.6647, 3.8955, 28.4119)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202794 #948D20
analogous
#206194 #202794 #532094
triadic
#202794 #942027 #279420
tetradic
#202794 #942061 #948D20 #209453
square
#202794 #942061 #948D20 #209453
split-complementary
#202794 #945320 #619420
monochromatic
#0A0C2F #151A62 #202794 #2B34C6 #545CDA

Accessibility & contrast

On white

11.80
#202794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#202794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202794
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202794#FFFFFF#000000##FFFFFF
##2027941.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202794;
/* rgb */ color: rgb(32, 39, 148);
/* oklch */ color: oklch(35.4% 0.174 270.8);
Tailwind
colors: {
  custom: {
    50: '#7062b5',
    500: '#202794',
    950: '#000000',
  },
}
SCSS
$custom: #202794;
$custom-light: #7062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#202794",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 236.379,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.17376,
    "h": 270.8
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#202794
secondary
#BEB752
accent
#DD40E7
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202794

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

Preview Lab → · Contrast checker → · Palette generator →

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