#202479#202479

#202479 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.141 H 273.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#202479
RGBrgb(32, 36, 121)
HSLhsl(237, 58%, 30%)
HSVhsv(237, 74%, 47%)
CMYKcmyk(73.6%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.84, 28.74, -48.80)
CIE-LCHlch(19.84, 56.64, 300.50°)
OKLaboklab(32.08% 0.0077 -0.141)
OKLCHoklch(32.08% 0.141 273.1)
XYZxyz(4.6766, 2.9488, 18.4082)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202479 #797520
analogous
#205179 #202479 #482079
triadic
#202479 #792024 #247920
tetradic
#202479 #792051 #797520 #207948
square
#202479 #792051 #797520 #207948
split-complementary
#202479 #794820 #517920
monochromatic
#060718 #131649 #202479 #2D32A9 #454CCE

Accessibility & contrast

On white

13.21
#202479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#202479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202479
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202479#FFFFFF#000000##FFFFFF
##2024791.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202479;
/* rgb */ color: rgb(32, 36, 121);
/* oklch */ color: oklch(32.1% 0.141 273.1);
Tailwind
colors: {
  custom: {
    50: '#6a5fa1',
    500: '#202479',
    950: '#000000',
  },
}
SCSS
$custom: #202479;
$custom-light: #6a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#202479",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 237.303,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.14126,
    "h": 273.1
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#202479
secondary
#ACA849
accent
#DA46E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #202479

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

Preview Lab → · Contrast checker → · Palette generator →

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