#201754#201754

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

Color values

HEX#201754
RGBrgb(32, 23, 84)
HSLhsl(249, 57%, 21%)
HSVhsv(249, 73%, 33%)
CMYKcmyk(61.9%, 72.6%, 0%, 67.1%)
CIE-LABlab(12.98, 23.81, -35.69)
CIE-LCHlch(12.98, 42.90, 303.70°)
OKLaboklab(26% 0.0236 -0.1027)
OKLCHoklch(26% 0.105 283)
XYZxyz(2.5018, 1.5598, 8.5550)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201754 #4B5417
analogous
#172C54 #201754 #3E1754
triadic
#201754 #542017 #175420
tetradic
#201754 #54172C #4B5417 #17543E
square
#201754 #54172C #4B5417 #17543E
split-complementary
#201754 #543E17 #2C5417
monochromatic
#090718 #0E0A24 #201754 #322484 #4531B4

Accessibility & contrast

On white

16.01
#201754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201754
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201754#FFFFFF#000000##FFFFFF
##2017541.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#052733
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201754;
/* rgb */ color: rgb(32, 23, 84);
/* oklch */ color: oklch(26.0% 0.105 283.0);
Tailwind
colors: {
  custom: {
    50: '#625585',
    500: '#201754',
    950: '#000000',
  },
}
SCSS
$custom: #201754;
$custom-light: #625585;
$custom-dark: #000000;
JSON
{
  "hex": "#201754",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 248.852,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26001,
    "c": 0.10535,
    "h": 283
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#201754
secondary
#7F8B3C
accent
#E048CA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201754

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

Preview Lab → · Contrast checker → · Palette generator →

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