#202168#202168

#202168 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.121 H 275.6°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#202168
RGBrgb(32, 33, 104)
HSLhsl(239, 53%, 27%)
HSVhsv(239, 69%, 41%)
CMYKcmyk(69.2%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.43, 24.39, -41.75)
CIE-LCHlch(17.43, 48.35, 300.29°)
OKLaboklab(29.82% 0.0118 -0.1204)
OKLCHoklch(29.82% 0.121 275.6)
XYZxyz(3.6374, 2.3940, 13.3644)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202168 #686720
analogous
#204568 #202168 #432068
triadic
#202168 #682021 #216820
tetradic
#202168 #682045 #686720 #206843
square
#202168 #682045 #686720 #206843
split-complementary
#202168 #684320 #456820
monochromatic
#070717 #121239 #202168 #2E3097 #3F40C4

Accessibility & contrast

On white

14.20
#202168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#202168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202168
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202168#FFFFFF#000000##FFFFFF
##2021681.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #202168;
/* rgb */ color: rgb(32, 33, 104);
/* oklch */ color: oklch(29.8% 0.121 275.6);
Tailwind
colors: {
  custom: {
    50: '#665c94',
    500: '#202168',
    950: '#000000',
  },
}
SCSS
$custom: #202168;
$custom-light: #665c94;
$custom-dark: #000000;
JSON
{
  "hex": "#202168",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 239.167,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29822,
    "c": 0.121,
    "h": 275.6
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#202168
secondary
#9C9B48
accent
#DA4BDC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202168

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

Preview Lab → · Contrast checker → · Palette generator →

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