#201856#201856

#201856 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.107 H 282.1°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#201856
RGBrgb(32, 24, 86)
HSLhsl(248, 56%, 22%)
HSVhsv(248, 72%, 34%)
CMYKcmyk(62.8%, 72.1%, 0%, 66.3%)
CIE-LABlab(13.42, 23.85, -36.33)
CIE-LCHlch(13.42, 43.46, 303.29°)
OKLaboklab(26.38% 0.0223 -0.1045)
OKLCHoklch(26.38% 0.107 282.1)
XYZxyz(2.6015, 1.6321, 8.9802)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201856 #4E5618
analogous
#182F56 #201856 #3F1856
triadic
#201856 #562018 #185620
tetradic
#201856 #56182F #4E5618 #18563F
square
#201856 #56182F #4E5618 #18563F
split-complementary
#201856 #563F18 #2F5618
monochromatic
#090718 #0E0B26 #201856 #322586 #4433B6

Accessibility & contrast

On white

15.83
#201856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201856
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201856#FFFFFF#000000##FFFFFF
##2018561.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#032834
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201856;
/* rgb */ color: rgb(32, 24, 86);
/* oklch */ color: oklch(26.4% 0.107 282.1);
Tailwind
colors: {
  custom: {
    50: '#625586',
    500: '#201856',
    950: '#000000',
  },
}
SCSS
$custom: #201856;
$custom-light: #625586;
$custom-dark: #000000;
JSON
{
  "hex": "#201856",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 247.742,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26379,
    "c": 0.10689,
    "h": 282.1
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#201856
secondary
#828D3D
accent
#E048CC
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201856

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

Preview Lab → · Contrast checker → · Palette generator →

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