#202162#202162

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

Color values

HEX#202162
RGBrgb(32, 33, 98)
HSLhsl(239, 51%, 25%)
HSVhsv(239, 67%, 38%)
CMYKcmyk(67.3%, 66.3%, 0%, 61.6%)
CIE-LABlab(16.88, 22.12, -38.71)
CIE-LCHlch(16.88, 44.59, 299.74°)
OKLaboklab(29.24% 0.0123 -0.1115)
OKLCHoklch(29.24% 0.112 276.3)
XYZxyz(3.3434, 2.2764, 11.8161)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202162 #626120
analogous
#204262 #202162 #402062
triadic
#202162 #622021 #216220
tetradic
#202162 #622042 #626120 #206240
square
#202162 #622042 #626120 #206240
split-complementary
#202162 #624020 #426220
monochromatic
#080817 #111134 #202162 #2F3190 #3E40BE

Accessibility & contrast

On white

14.43
#202162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202162
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202162#FFFFFF#000000##FFFFFF
##2021621.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #202162;
/* rgb */ color: rgb(32, 33, 98);
/* oklch */ color: oklch(29.2% 0.112 276.3);
Tailwind
colors: {
  custom: {
    50: '#645c8f',
    500: '#202162',
    950: '#000000',
  },
}
SCSS
$custom: #202162;
$custom-light: #645c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#202162",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 239.091,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29242,
    "c": 0.11218,
    "h": 276.3
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#202162
secondary
#969547
accent
#D84EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #202162

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

Preview Lab → · Contrast checker → · Palette generator →

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