#202579#202579

#202579 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.140 H 272.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#202579
RGBrgb(32, 37, 121)
HSLhsl(237, 58%, 30%)
HSVhsv(237, 74%, 47%)
CMYKcmyk(73.6%, 69.4%, 0%, 52.5%)
CIE-LABlab(20.08, 28.08, -48.39)
CIE-LCHlch(20.08, 55.95, 300.12°)
OKLaboklab(32.26% 0.007 -0.1399)
OKLCHoklch(32.26% 0.14 272.9)
XYZxyz(4.7073, 3.0102, 18.4184)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202579 #797420
analogous
#205279 #202579 #472079
triadic
#202579 #792025 #257920
tetradic
#202579 #792052 #797420 #207947
square
#202579 #792052 #797420 #207947
split-complementary
#202579 #794720 #527920
monochromatic
#060718 #131649 #202579 #2D34A9 #454DCE

Accessibility & contrast

On white

13.11
#202579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202579
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202579#FFFFFF#000000##FFFFFF
##2025791.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202579;
/* rgb */ color: rgb(32, 37, 121);
/* oklch */ color: oklch(32.3% 0.140 272.9);
Tailwind
colors: {
  custom: {
    50: '#6a60a1',
    500: '#202579',
    950: '#000000',
  },
}
SCSS
$custom: #202579;
$custom-light: #6a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202579",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 236.629,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.14003,
    "h": 272.9
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#202579
secondary
#ACA749
accent
#D946E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #202579

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

Preview Lab → · Contrast checker → · Palette generator →

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