#202066#202066

#202066 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.119 H 276.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#202066
RGBrgb(32, 32, 102)
HSLhsl(240, 52%, 26%)
HSVhsv(240, 69%, 40%)
CMYKcmyk(68.6%, 68.6%, 0%, 60%)
CIE-LABlab(16.98, 24.33, -41.17)
CIE-LCHlch(16.98, 47.82, 300.57°)
OKLaboklab(29.44% 0.0129 -0.1187)
OKLCHoklch(29.44% 0.119 276.2)
XYZxyz(3.5097, 2.2991, 12.8266)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202066 #666620
analogous
#204366 #202066 #432066
triadic
#202066 #662020 #206620
tetradic
#202066 #662043 #666620 #206643
square
#202066 #662043 #666620 #206643
split-complementary
#202066 #664320 #436620
monochromatic
#070717 #111137 #202066 #2F2F95 #3E3EC2

Accessibility & contrast

On white

14.39
#202066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#202066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202066
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202066#FFFFFF#000000##FFFFFF
##2020661.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #202066;
/* rgb */ color: rgb(32, 32, 102);
/* oklch */ color: oklch(29.4% 0.119 276.2);
Tailwind
colors: {
  custom: {
    50: '#655b92',
    500: '#202066',
    950: '#000000',
  },
}
SCSS
$custom: #202066;
$custom-light: #655b92;
$custom-dark: #000000;
JSON
{
  "hex": "#202066",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 240,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29438,
    "c": 0.11941,
    "h": 276.2
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#202066
secondary
#9A9A48
accent
#DC4CDC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202066

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

Preview Lab → · Contrast checker → · Palette generator →

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