#202161#202161

#202161 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.111 H 276.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#202161
RGBrgb(32, 33, 97)
HSLhsl(239, 50%, 25%)
HSVhsv(239, 67%, 38%)
CMYKcmyk(67%, 66%, 0%, 62%)
CIE-LABlab(16.78, 21.74, -38.20)
CIE-LCHlch(16.78, 43.96, 299.65°)
OKLaboklab(29.15% 0.0123 -0.11)
OKLCHoklch(29.15% 0.111 276.4)
XYZxyz(3.2965, 2.2576, 11.5690)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202161 #616020
analogous
#204161 #202161 #3F2061
triadic
#202161 #612021 #216120
tetradic
#202161 #612041 #616020 #20613F
square
#202161 #612041 #616020 #20613F
split-complementary
#202161 #613F20 #416120
monochromatic
#080817 #111133 #202161 #2F318F #3E40BD

Accessibility & contrast

On white

14.47
#202161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#202161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202161
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202161#FFFFFF#000000##FFFFFF
##2021611.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202161;
/* rgb */ color: rgb(32, 33, 97);
/* oklch */ color: oklch(29.1% 0.111 276.4);
Tailwind
colors: {
  custom: {
    50: '#645c8f',
    500: '#202161',
    950: '#000000',
  },
}
SCSS
$custom: #202161;
$custom-light: #645c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#202161",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 239.077,
    "s": 50.388,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.11069,
    "h": 276.4
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202161

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

Preview Lab → · Contrast checker → · Palette generator →

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