#201954#201954

#201954 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.103 H 282.1°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#201954
RGBrgb(32, 25, 84)
HSLhsl(247, 54%, 21%)
HSVhsv(247, 70%, 33%)
CMYKcmyk(61.9%, 70.2%, 0%, 67.1%)
CIE-LABlab(13.49, 22.45, -34.87)
CIE-LCHlch(13.49, 41.47, 302.78°)
OKLaboklab(26.36% 0.0216 -0.1003)
OKLCHoklch(26.36% 0.103 282.1)
XYZxyz(2.5430, 1.6423, 8.5688)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201954 #4D5419
analogous
#193054 #201954 #3E1954
triadic
#201954 #542019 #195420
tetradic
#201954 #541930 #4D5419 #19543E
square
#201954 #541930 #4D5419 #19543E
split-complementary
#201954 #543E19 #305419
monochromatic
#090718 #0E0B25 #201954 #322783 #4435B2

Accessibility & contrast

On white

15.81
#201954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201954
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201954#FFFFFF#000000##FFFFFF
##2019541.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#052834
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201954;
/* rgb */ color: rgb(32, 25, 84);
/* oklch */ color: oklch(26.4% 0.103 282.1);
Tailwind
colors: {
  custom: {
    50: '#625685',
    500: '#201954',
    950: '#000000',
  },
}
SCSS
$custom: #201954;
$custom-light: #625685;
$custom-dark: #000000;
JSON
{
  "hex": "#201954",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 247.119,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26364,
    "c": 0.10255,
    "h": 282.1
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#201954
secondary
#818A3E
accent
#DD4ACC
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201954

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

Preview Lab → · Contrast checker → · Palette generator →

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