#202062#202062

#202062 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.114 H 276.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#202062
RGBrgb(32, 32, 98)
HSLhsl(240, 51%, 25%)
HSVhsv(240, 67%, 38%)
CMYKcmyk(67.3%, 67.3%, 0%, 61.6%)
CIE-LABlab(16.61, 22.82, -39.15)
CIE-LCHlch(16.61, 45.31, 300.24°)
OKLaboklab(29.05% 0.0132 -0.1128)
OKLCHoklch(29.05% 0.114 276.7)
XYZxyz(3.3161, 2.2217, 11.8070)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202062 #626220
analogous
#204162 #202062 #412062
triadic
#202062 #622020 #206220
tetradic
#202062 #622041 #626220 #206241
square
#202062 #622041 #626220 #206241
split-complementary
#202062 #624120 #416220
monochromatic
#080817 #111134 #202062 #2F2F90 #3E3EBE

Accessibility & contrast

On white

14.54
#202062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#202062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202062
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202062#FFFFFF#000000##FFFFFF
##2020621.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #202062;
/* rgb */ color: rgb(32, 32, 98);
/* oklch */ color: oklch(29.0% 0.114 276.7);
Tailwind
colors: {
  custom: {
    50: '#645b8f',
    500: '#202062',
    950: '#000000',
  },
}
SCSS
$custom: #202062;
$custom-light: #645b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#202062",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 240,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.11356,
    "h": 276.7
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#202062
secondary
#969647
accent
#DA4EDA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #202062

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

Preview Lab → · Contrast checker → · Palette generator →

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