#201864#201864

#201864 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.127 H 279.0°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#201864
RGBrgb(32, 24, 100)
HSLhsl(246, 61%, 24%)
HSVhsv(246, 76%, 39%)
CMYKcmyk(68%, 76%, 0%, 60.8%)
CIE-LABlab(14.85, 28.86, -43.36)
CIE-LCHlch(14.85, 52.09, 303.65°)
OKLaboklab(27.83% 0.0198 -0.1251)
OKLCHoklch(27.83% 0.127 279)
XYZxyz(3.2218, 1.8802, 12.2473)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201864 #5C6418
analogous
#183664 #201864 #461864
triadic
#201864 #642018 #186420
tetradic
#201864 #641836 #5C6418 #186446
square
#201864 #641836 #5C6418 #186446
split-complementary
#201864 #644618 #366418
monochromatic
#080619 #100C33 #201864 #302495 #4030C7

Accessibility & contrast

On white

15.26
#201864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201864
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201864#FFFFFF#000000##FFFFFF
##2018641.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201864;
/* rgb */ color: rgb(32, 24, 100);
/* oklch */ color: oklch(27.8% 0.127 279.0);
Tailwind
colors: {
  custom: {
    50: '#665691',
    500: '#201864',
    950: '#000000',
  },
}
SCSS
$custom: #201864;
$custom-light: #665691;
$custom-dark: #000000;
JSON
{
  "hex": "#201864",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 246.316,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.12669,
    "h": 279
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#201864
secondary
#909A3E
accent
#E443D3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #201864

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

Preview Lab → · Contrast checker → · Palette generator →

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