#201F4E#201F4E

#201F4E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.084 H 280.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#201F4E
RGBrgb(32, 31, 78)
HSLhsl(241, 43%, 21%)
HSVhsv(241, 60%, 31%)
CMYKcmyk(59%, 60.3%, 0%, 69.4%)
CIE-LABlab(14.61, 15.98, -28.96)
CIE-LCHlch(14.61, 33.08, 298.89°)
OKLaboklab(27.03% 0.0148 -0.0828)
OKLCHoklch(27.03% 0.084 280.1)
XYZxyz(2.4604, 1.8370, 7.4312)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F4E #4D4E1F
analogous
#1F364E #201F4E #381F4E
triadic
#201F4E #4E201F #1F4E20
tetradic
#201F4E #4E1F36 #4D4E1F #1F4E38
square
#201F4E #4E1F36 #4D4E1F #1F4E38
split-complementary
#201F4E #4E381F #364E1F
monochromatic
#090916 #0E0E22 #201F4E #32307A #4442A6

Accessibility & contrast

On white

15.36
#201F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F4E
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F4E#FFFFFF#000000##FFFFFF
##201F4E1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032750
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#0B2A33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201f4e;
/* rgb */ color: rgb(32, 31, 78);
/* oklch */ color: oklch(27.0% 0.084 280.1);
Tailwind
colors: {
  custom: {
    50: '#605a80',
    500: '#201f4e',
    950: '#000000',
  },
}
SCSS
$custom: #201f4e;
$custom-light: #605a80;
$custom-dark: #000000;
JSON
{
  "hex": "#201f4e",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 241.277,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27027,
    "c": 0.08416,
    "h": 280.1
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#201F4E
secondary
#818346
accent
#D355D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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