#202079#202079

#202079 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.146 H 274.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#202079
RGBrgb(32, 32, 121)
HSLhsl(240, 58%, 30%)
HSVhsv(240, 74%, 47%)
CMYKcmyk(73.6%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.89, 31.34, -50.36)
CIE-LCHlch(18.89, 59.32, 301.89°)
OKLaboklab(31.39% 0.0103 -0.1456)
OKLCHoklch(31.39% 0.146 274)
XYZxyz(4.5622, 2.7201, 18.3701)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202079 #797920
analogous
#204C79 #202079 #4C2079
triadic
#202079 #792020 #207920
tetradic
#202079 #79204D #797920 #20794D
square
#202079 #79204D #797920 #20794D
split-complementary
#202079 #794D20 #4D7920
monochromatic
#060618 #131349 #202079 #2D2DA9 #4545CE

Accessibility & contrast

On white

13.60
#202079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202079
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202079#FFFFFF#000000##FFFFFF
##2020791.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202079;
/* rgb */ color: rgb(32, 32, 121);
/* oklch */ color: oklch(31.4% 0.146 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a5ca1',
    500: '#202079',
    950: '#000000',
  },
}
SCSS
$custom: #202079;
$custom-light: #6a5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#202079",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.31392,
    "c": 0.14598,
    "h": 274
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#202079
secondary
#ACAC49
accent
#E146E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #202079

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

Preview Lab → · Contrast checker → · Palette generator →

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