#201F54#201F54

#201F54 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.094 H 279.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#201F54
RGBrgb(32, 31, 84)
HSLhsl(241, 46%, 23%)
HSVhsv(241, 63%, 33%)
CMYKcmyk(61.9%, 63.1%, 0%, 67.1%)
CIE-LABlab(15.10, 18.24, -32.25)
CIE-LCHlch(15.10, 37.05, 299.49°)
OKLaboklab(27.55% 0.0149 -0.0925)
OKLCHoklch(27.55% 0.094 279.1)
XYZxyz(2.6854, 1.9270, 8.6162)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F54 #53541F
analogous
#1F3954 #201F54 #3A1F54
triadic
#201F54 #54201F #1F5420
tetradic
#201F54 #541F39 #53541F #1F543A
square
#201F54 #541F39 #53541F #1F543A
split-complementary
#201F54 #543A1F #39541F
monochromatic
#090816 #0F0F27 #201F54 #312F81 #4240AD

Accessibility & contrast

On white

15.16
#201F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F54
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F54#FFFFFF#000000##FFFFFF
##201F541.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#042C36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201f54;
/* rgb */ color: rgb(32, 31, 84);
/* oklch */ color: oklch(27.5% 0.094 279.1);
Tailwind
colors: {
  custom: {
    50: '#615a85',
    500: '#201f54',
    950: '#000000',
  },
}
SCSS
$custom: #201f54;
$custom-light: #615a85;
$custom-dark: #000000;
JSON
{
  "hex": "#201f54",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 241.132,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27548,
    "c": 0.0937,
    "h": 279.1
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#201F54
secondary
#878946
accent
#D652D3
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #201F54

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

Preview Lab → · Contrast checker → · Palette generator →

#201F54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva