#202164#202164

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

Color values

HEX#202164
RGBrgb(32, 33, 100)
HSLhsl(239, 52%, 26%)
HSVhsv(239, 68%, 39%)
CMYKcmyk(68%, 67%, 0%, 60.8%)
CIE-LABlab(17.06, 22.88, -39.74)
CIE-LCHlch(17.06, 45.85, 299.93°)
OKLaboklab(29.43% 0.0121 -0.1145)
OKLCHoklch(29.43% 0.115 276)
XYZxyz(3.4390, 2.3146, 12.3197)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202164 #646320
analogous
#204364 #202164 #412064
triadic
#202164 #642021 #216420
tetradic
#202164 #642043 #646320 #206441
square
#202164 #642043 #646320 #206441
split-complementary
#202164 #644120 #436420
monochromatic
#070817 #111236 #202164 #2F3092 #3E40C1

Accessibility & contrast

On white

14.35
#202164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202164
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202164#FFFFFF#000000##FFFFFF
##2021641.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202164;
/* rgb */ color: rgb(32, 33, 100);
/* oklch */ color: oklch(29.4% 0.115 276.0);
Tailwind
colors: {
  custom: {
    50: '#655c91',
    500: '#202164',
    950: '#000000',
  },
}
SCSS
$custom: #202164;
$custom-light: #655c91;
$custom-dark: #000000;
JSON
{
  "hex": "#202164",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 239.118,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.11514,
    "h": 276
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#202164
secondary
#989748
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202164

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

Preview Lab → · Contrast checker → · Palette generator →

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