#201851#201851

#201851 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.100 H 283.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#201851
RGBrgb(32, 24, 81)
HSLhsl(248, 54%, 21%)
HSVhsv(248, 70%, 32%)
CMYKcmyk(60.5%, 70.4%, 0%, 68.2%)
CIE-LABlab(12.95, 22.05, -33.70)
CIE-LCHlch(12.95, 40.27, 303.19°)
OKLaboklab(25.89% 0.023 -0.0968)
OKLCHoklch(25.89% 0.1 283.4)
XYZxyz(2.4070, 1.5543, 7.9562)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201851 #495118
analogous
#182C51 #201851 #3C1851
triadic
#201851 #512018 #185120
tetradic
#201851 #51182C #495118 #18513C
square
#201851 #51182C #495118 #18513C
split-complementary
#201851 #513C18 #2C5118
monochromatic
#090718 #0D0A22 #201851 #332680 #4534AF

Accessibility & contrast

On white

16.02
#201851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#201851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201851
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201851#FFFFFF#000000##FFFFFF
##2018511.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#092632
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201851;
/* rgb */ color: rgb(32, 24, 81);
/* oklch */ color: oklch(25.9% 0.100 283.4);
Tailwind
colors: {
  custom: {
    50: '#615582',
    500: '#201851',
    950: '#000000',
  },
}
SCSS
$custom: #201851;
$custom-light: #615582;
$custom-dark: #000000;
JSON
{
  "hex": "#201851",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 81
  },
  "hsl": {
    "h": 248.421,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25888,
    "c": 0.09952,
    "h": 283.4
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#201851
secondary
#7D883D
accent
#DE4AC9
background
#F6F5F8
surface
#EBE8EF
border
#C6C4CA
text
#05030A
muted
#7A787C

Preview Lab

Preview with #201851

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

Preview Lab → · Contrast checker → · Palette generator →

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