#201F4C#201F4C

#201F4C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.081 H 280.5°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#201F4C
RGBrgb(32, 31, 76)
HSLhsl(241, 42%, 21%)
HSVhsv(241, 59%, 30%)
CMYKcmyk(57.9%, 59.2%, 0%, 70.2%)
CIE-LABlab(14.45, 15.23, -27.85)
CIE-LCHlch(14.45, 31.74, 298.68°)
OKLaboklab(26.86% 0.0147 -0.0796)
OKLCHoklch(26.86% 0.081 280.5)
XYZxyz(2.3898, 1.8087, 7.0593)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F4C #4B4C1F
analogous
#1F344C #201F4C #361F4C
triadic
#201F4C #4C201F #1F4C20
tetradic
#201F4C #4C1F34 #4B4C1F #1F4C36
square
#201F4C #4C1F34 #4B4C1F #1F4C36
split-complementary
#201F4C #4C361F #344C1F
monochromatic
#090916 #0E0D21 #201F4C #323177 #4542A3

Accessibility & contrast

On white

15.42
#201F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F4C
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F4C#FFFFFF#000000##FFFFFF
##201F4C1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264E
Deuteranopia (green-blind)
#02234B
Tritanopia (blue-blind)
#0D2932
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201f4c;
/* rgb */ color: rgb(32, 31, 76);
/* oklch */ color: oklch(26.9% 0.081 280.5);
Tailwind
colors: {
  custom: {
    50: '#605a7e',
    500: '#201f4c',
    950: '#000000',
  },
}
SCSS
$custom: #201f4c;
$custom-light: #605a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#201f4c",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 241.333,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.08091,
    "h": 280.5
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#201F4C
secondary
#7F8146
accent
#D256CF
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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