#202061#202061

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

Color values

HEX#202061
RGBrgb(32, 32, 97)
HSLhsl(240, 50%, 25%)
HSVhsv(240, 67%, 38%)
CMYKcmyk(67%, 67%, 0%, 62%)
CIE-LABlab(16.52, 22.44, -38.64)
CIE-LCHlch(16.52, 44.68, 300.15°)
OKLaboklab(28.95% 0.0133 -0.1113)
OKLCHoklch(28.95% 0.112 276.8)
XYZxyz(3.2691, 2.2029, 11.5599)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202061 #616120
analogous
#204061 #202061 #402061
triadic
#202061 #612020 #206120
tetradic
#202061 #612040 #616120 #206140
square
#202061 #612040 #616120 #206140
split-complementary
#202061 #614020 #406120
monochromatic
#080817 #111133 #202061 #2F2F8F #3E3EBD

Accessibility & contrast

On white

14.58
#202061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202061
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202061#FFFFFF#000000##FFFFFF
##2020611.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #202061;
/* rgb */ color: rgb(32, 32, 97);
/* oklch */ color: oklch(29.0% 0.112 276.8);
Tailwind
colors: {
  custom: {
    50: '#645b8f',
    500: '#202061',
    950: '#000000',
  },
}
SCSS
$custom: #202061;
$custom-light: #645b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#202061",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 97
  },
  "hsl": {
    "h": 240,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28952,
    "c": 0.11207,
    "h": 276.8
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202061

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

Preview Lab → · Contrast checker → · Palette generator →

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