#202166#202166

#202166 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.118 H 275.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#202166
RGBrgb(32, 33, 102)
HSLhsl(239, 52%, 26%)
HSVhsv(239, 69%, 40%)
CMYKcmyk(68.6%, 67.6%, 0%, 60%)
CIE-LABlab(17.24, 23.64, -40.75)
CIE-LCHlch(17.24, 47.11, 300.12°)
OKLaboklab(29.63% 0.012 -0.1175)
OKLCHoklch(29.63% 0.118 275.8)
XYZxyz(3.5370, 2.3538, 12.8357)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202166 #666520
analogous
#204466 #202166 #422066
triadic
#202166 #662021 #216620
tetradic
#202166 #662044 #666520 #206642
square
#202166 #662044 #666520 #206642
split-complementary
#202166 #664220 #446620
monochromatic
#070817 #111237 #202166 #2F3095 #3E40C2

Accessibility & contrast

On white

14.28
#202166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#202166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202166
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202166#FFFFFF#000000##FFFFFF
##2021661.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #202166;
/* rgb */ color: rgb(32, 33, 102);
/* oklch */ color: oklch(29.6% 0.118 275.8);
Tailwind
colors: {
  custom: {
    50: '#655c92',
    500: '#202166',
    950: '#000000',
  },
}
SCSS
$custom: #202166;
$custom-light: #655c92;
$custom-dark: #000000;
JSON
{
  "hex": "#202166",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 239.143,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29627,
    "c": 0.11808,
    "h": 275.8
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#202166
secondary
#9A9948
accent
#DA4CDC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202166

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

Preview Lab → · Contrast checker → · Palette generator →

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