#201855#201855

#201855 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.3% C 0.105 H 282.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#201855
RGBrgb(32, 24, 85)
HSLhsl(248, 56%, 21%)
HSVhsv(248, 72%, 33%)
CMYKcmyk(62.4%, 71.8%, 0%, 66.7%)
CIE-LABlab(13.33, 23.49, -35.81)
CIE-LCHlch(13.33, 42.83, 303.27°)
OKLaboklab(26.28% 0.0225 -0.103)
OKLCHoklch(26.28% 0.105 282.3)
XYZxyz(2.5615, 1.6161, 8.7695)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201855 #4D5518
analogous
#182F55 #201855 #3F1855
triadic
#201855 #552018 #185520
tetradic
#201855 #55182F #4D5518 #18553F
square
#201855 #55182F #4D5518 #18553F
split-complementary
#201855 #553F18 #2F5518
monochromatic
#090718 #0E0B25 #201855 #322585 #4433B4

Accessibility & contrast

On white

15.87
#201855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201855
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201855#FFFFFF#000000##FFFFFF
##2018551.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#042834
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201855;
/* rgb */ color: rgb(32, 24, 85);
/* oklch */ color: oklch(26.3% 0.105 282.3);
Tailwind
colors: {
  custom: {
    50: '#625585',
    500: '#201855',
    950: '#000000',
  },
}
SCSS
$custom: #201855;
$custom-light: #625585;
$custom-dark: #000000;
JSON
{
  "hex": "#201855",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 247.869,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.10543,
    "h": 282.3
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#201855
secondary
#818C3D
accent
#DF49CB
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201855

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

Preview Lab → · Contrast checker → · Palette generator →

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