#202068#202068

#202068 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.122 H 275.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#202068
RGBrgb(32, 32, 104)
HSLhsl(240, 53%, 27%)
HSVhsv(240, 69%, 41%)
CMYKcmyk(69.2%, 69.2%, 0%, 59.2%)
CIE-LABlab(17.18, 25.07, -42.17)
CIE-LCHlch(17.18, 49.06, 300.73°)
OKLaboklab(29.64% 0.0127 -0.1217)
OKLCHoklch(29.64% 0.122 275.9)
XYZxyz(3.6100, 2.3393, 13.3553)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202068 #686820
analogous
#204468 #202068 #442068
triadic
#202068 #682020 #206820
tetradic
#202068 #682044 #686820 #206844
square
#202068 #682044 #686820 #206844
split-complementary
#202068 #684420 #446820
monochromatic
#070717 #121239 #202068 #2E2E97 #3F3FC4

Accessibility & contrast

On white

14.31
#202068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202068
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202068#FFFFFF#000000##FFFFFF
##2020681.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #202068;
/* rgb */ color: rgb(32, 32, 104);
/* oklch */ color: oklch(29.6% 0.122 275.9);
Tailwind
colors: {
  custom: {
    50: '#665b94',
    500: '#202068',
    950: '#000000',
  },
}
SCSS
$custom: #202068;
$custom-light: #665b94;
$custom-dark: #000000;
JSON
{
  "hex": "#202068",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 240,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29635,
    "c": 0.12232,
    "h": 275.9
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#202068
secondary
#9C9C48
accent
#DC4BDC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #202068

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

Preview Lab → · Contrast checker → · Palette generator →

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