#202979#202979

#202979 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 271.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#202979
RGBrgb(32, 41, 121)
HSLhsl(234, 58%, 30%)
HSVhsv(234, 74%, 47%)
CMYKcmyk(73.6%, 66.1%, 0%, 52.5%)
CIE-LABlab(21.11, 25.37, -46.72)
CIE-LCHlch(21.11, 53.17, 298.50°)
OKLaboklab(33% 0.004 -0.1349)
OKLCHoklch(33% 0.135 271.7)
XYZxyz(4.8386, 3.2729, 18.4622)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202979 #797020
analogous
#205579 #202979 #442079
triadic
#202979 #792029 #297920
tetradic
#202979 #792055 #797020 #207944
square
#202979 #792055 #797020 #207944
split-complementary
#202979 #794420 #557920
monochromatic
#060818 #131949 #202979 #2D39A9 #4553CE

Accessibility & contrast

On white

12.69
#202979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202979
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202979#FFFFFF#000000##FFFFFF
##2029791.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202979;
/* rgb */ color: rgb(32, 41, 121);
/* oklch */ color: oklch(33.0% 0.135 271.7);
Tailwind
colors: {
  custom: {
    50: '#6962a0',
    500: '#202979',
    950: '#000000',
  },
}
SCSS
$custom: #202979;
$custom-light: #6962a0;
$custom-dark: #000000;
JSON
{
  "hex": "#202979",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 233.933,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.135,
    "h": 271.7
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#202979
secondary
#ACA249
accent
#D246E1
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202979

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

Preview Lab → · Contrast checker → · Palette generator →

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