#201751#201751

#201751 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.7% C 0.101 H 283.8°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#201751
RGBrgb(32, 23, 81)
HSLhsl(249, 56%, 20%)
HSVhsv(249, 72%, 32%)
CMYKcmyk(60.5%, 71.6%, 0%, 68.2%)
CIE-LABlab(12.70, 22.73, -34.12)
CIE-LCHlch(12.70, 40.99, 303.68°)
OKLaboklab(25.7% 0.0241 -0.098)
OKLCHoklch(25.7% 0.101 283.8)
XYZxyz(2.3868, 1.5138, 7.9494)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201751 #485117
analogous
#172B51 #201751 #3D1751
triadic
#201751 #512017 #175120
tetradic
#201751 #51172B #485117 #17513D
square
#201751 #51172B #485117 #17513D
split-complementary
#201751 #513D17 #2B5117
monochromatic
#090718 #0D0921 #201751 #332581 #4632B0

Accessibility & contrast

On white

16.12
#201751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201751
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201751#FFFFFF#000000##FFFFFF
##2017511.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#092631
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201751;
/* rgb */ color: rgb(32, 23, 81);
/* oklch */ color: oklch(25.7% 0.101 283.8);
Tailwind
colors: {
  custom: {
    50: '#625482',
    500: '#201751',
    950: '#000000',
  },
}
SCSS
$custom: #201751;
$custom-light: #625482;
$custom-dark: #000000;
JSON
{
  "hex": "#201751",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 249.31,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25704,
    "c": 0.10095,
    "h": 283.8
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#201751
secondary
#7C883C
accent
#DF49C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05030A
muted
#7A787C

Preview Lab

Preview with #201751

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

Preview Lab → · Contrast checker → · Palette generator →

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