#201868#201868

#201868 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.132 H 278.2°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#201868
RGBrgb(32, 24, 104)
HSLhsl(246, 63%, 25%)
HSVhsv(246, 77%, 41%)
CMYKcmyk(69.2%, 76.9%, 0%, 59.2%)
CIE-LABlab(15.27, 30.27, -45.29)
CIE-LCHlch(15.27, 54.48, 303.76°)
OKLaboklab(28.27% 0.0189 -0.1308)
OKLCHoklch(28.27% 0.132 278.2)
XYZxyz(3.4202, 1.9595, 13.2920)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201868 #606818
analogous
#183868 #201868 #481868
triadic
#201868 #682018 #186820
tetradic
#201868 #681838 #606818 #186848
square
#201868 #681838 #606818 #186848
split-complementary
#201868 #684818 #386818
monochromatic
#080619 #110D36 #201868 #2F239A #3F2FCB

Accessibility & contrast

On white

15.09
#201868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201868
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201868#FFFFFF#000000##FFFFFF
##2018681.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201868;
/* rgb */ color: rgb(32, 24, 104);
/* oklch */ color: oklch(28.3% 0.132 278.2);
Tailwind
colors: {
  custom: {
    50: '#675694',
    500: '#201868',
    950: '#000000',
  },
}
SCSS
$custom: #201868;
$custom-light: #675694;
$custom-dark: #000000;
JSON
{
  "hex": "#201868",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 246,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28268,
    "c": 0.13214,
    "h": 278.2
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#201868
secondary
#949E3E
accent
#E642D5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201868

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

Preview Lab → · Contrast checker → · Palette generator →

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