#201862#201862

#201862 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.124 H 279.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#201862
RGBrgb(32, 24, 98)
HSLhsl(246, 61%, 24%)
HSVhsv(246, 76%, 38%)
CMYKcmyk(67.3%, 75.5%, 0%, 61.6%)
CIE-LABlab(14.63, 28.15, -42.38)
CIE-LCHlch(14.63, 50.88, 303.60°)
OKLaboklab(27.62% 0.0202 -0.1223)
OKLCHoklch(27.62% 0.124 279.4)
XYZxyz(3.1262, 1.8419, 11.7437)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201862 #5A6218
analogous
#183562 #201862 #451862
triadic
#201862 #622018 #186220
tetradic
#201862 #621835 #5A6218 #186245
square
#201862 #621835 #5A6218 #186245
split-complementary
#201862 #624518 #356218
monochromatic
#080619 #100C31 #201862 #302493 #4030C4

Accessibility & contrast

On white

15.35
#201862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201862
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201862#FFFFFF#000000##FFFFFF
##2018621.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002261
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201862;
/* rgb */ color: rgb(32, 24, 98);
/* oklch */ color: oklch(27.6% 0.124 279.4);
Tailwind
colors: {
  custom: {
    50: '#65568f',
    500: '#201862',
    950: '#000000',
  },
}
SCSS
$custom: #201862;
$custom-light: #65568f;
$custom-dark: #000000;
JSON
{
  "hex": "#201862",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 246.486,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.12394,
    "h": 279.4
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#201862
secondary
#8E983E
accent
#E444D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201862

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

Preview Lab → · Contrast checker → · Palette generator →

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