#201752#201752

#201752 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.102 H 283.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#201752
RGBrgb(32, 23, 82)
HSLhsl(249, 56%, 21%)
HSVhsv(249, 72%, 32%)
CMYKcmyk(61%, 72%, 0%, 67.8%)
CIE-LABlab(12.79, 23.09, -34.64)
CIE-LCHlch(12.79, 41.63, 303.68°)
OKLaboklab(25.8% 0.0239 -0.0996)
OKLCHoklch(25.8% 0.102 283.5)
XYZxyz(2.4246, 1.5289, 8.1484)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201752 #495217
analogous
#172B52 #201752 #3D1752
triadic
#201752 #522017 #175220
tetradic
#201752 #52172B #495217 #17523D
square
#201752 #52172B #495217 #17523D
split-complementary
#201752 #523D17 #2B5217
monochromatic
#090718 #0D0A22 #201752 #332482 #4532B2

Accessibility & contrast

On white

16.08
#201752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201752
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201752#FFFFFF#000000##FFFFFF
##2017521.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#082632
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201752;
/* rgb */ color: rgb(32, 23, 82);
/* oklch */ color: oklch(25.8% 0.102 283.5);
Tailwind
colors: {
  custom: {
    50: '#625483',
    500: '#201752',
    950: '#000000',
  },
}
SCSS
$custom: #201752;
$custom-light: #625483;
$custom-dark: #000000;
JSON
{
  "hex": "#201752",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 249.153,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25802,
    "c": 0.10243,
    "h": 283.5
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#201752
secondary
#7D893C
accent
#DF48C8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201752

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

Preview Lab → · Contrast checker → · Palette generator →

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