#201F4B#201F4B

#201F4B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.079 H 280.6°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#201F4B
RGBrgb(32, 31, 75)
HSLhsl(241, 42%, 21%)
HSVhsv(241, 59%, 29%)
CMYKcmyk(57.3%, 58.7%, 0%, 70.6%)
CIE-LABlab(14.37, 14.86, -27.29)
CIE-LCHlch(14.37, 31.07, 298.57°)
OKLaboklab(26.78% 0.0146 -0.0779)
OKLCHoklch(26.78% 0.079 280.6)
XYZxyz(2.3553, 1.7949, 6.8776)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F4B #4A4B1F
analogous
#1F344B #201F4B #361F4B
triadic
#201F4B #4B201F #1F4B20
tetradic
#201F4B #4B1F34 #4A4B1F #1F4B36
square
#201F4B #4B1F34 #4A4B1F #1F4B36
split-complementary
#201F4B #4B361F #344B1F
monochromatic
#090916 #0E0D20 #201F4B #323176 #4543A2

Accessibility & contrast

On white

15.45
#201F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F4B
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F4B#FFFFFF#000000##FFFFFF
##201F4B1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07264D
Deuteranopia (green-blind)
#03234A
Tritanopia (blue-blind)
#0E2931
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201f4b;
/* rgb */ color: rgb(32, 31, 75);
/* oklch */ color: oklch(26.8% 0.079 280.6);
Tailwind
colors: {
  custom: {
    50: '#605a7e',
    500: '#201f4b',
    950: '#000000',
  },
}
SCSS
$custom: #201f4b;
$custom-light: #605a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#201f4b",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 241.364,
    "s": 41.509,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26776,
    "c": 0.07927,
    "h": 280.6
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#201F4B
secondary
#7E8046
accent
#D156CF
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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