#202064#202064

#202064 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.117 H 276.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#202064
RGBrgb(32, 32, 100)
HSLhsl(240, 52%, 26%)
HSVhsv(240, 68%, 39%)
CMYKcmyk(68%, 68%, 0%, 60.8%)
CIE-LABlab(16.80, 23.57, -40.16)
CIE-LCHlch(16.80, 46.57, 300.41°)
OKLaboklab(29.24% 0.013 -0.1158)
OKLCHoklch(29.24% 0.117 276.4)
XYZxyz(3.4117, 2.2599, 12.3105)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202064 #646420
analogous
#204264 #202064 #422064
triadic
#202064 #642020 #206420
tetradic
#202064 #642042 #646420 #206442
square
#202064 #642042 #646420 #206442
split-complementary
#202064 #644220 #426420
monochromatic
#070717 #111136 #202064 #2F2F92 #3E3EC1

Accessibility & contrast

On white

14.46
#202064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#202064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202064
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202064#FFFFFF#000000##FFFFFF
##2020641.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #202064;
/* rgb */ color: rgb(32, 32, 100);
/* oklch */ color: oklch(29.2% 0.117 276.4);
Tailwind
colors: {
  custom: {
    50: '#655b91',
    500: '#202064',
    950: '#000000',
  },
}
SCSS
$custom: #202064;
$custom-light: #655b91;
$custom-dark: #000000;
JSON
{
  "hex": "#202064",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29242,
    "c": 0.1165,
    "h": 276.4
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#202064
secondary
#989848
accent
#DB4DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202064

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

Preview Lab → · Contrast checker → · Palette generator →

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