#201F6C#201F6C

#201F6C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.129 H 275.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#201F6C
RGBrgb(32, 31, 108)
HSLhsl(241, 55%, 27%)
HSVhsv(241, 71%, 42%)
CMYKcmyk(70.4%, 71.3%, 0%, 57.6%)
CIE-LABlab(17.32, 27.23, -44.55)
CIE-LCHlch(17.32, 52.22, 301.43°)
OKLaboklab(29.86% 0.013 -0.1286)
OKLCHoklch(29.86% 0.129 275.8)
XYZxyz(3.7915, 2.3694, 14.4420)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F6C #6B6C1F
analogous
#1F456C #201F6C #461F6C
triadic
#201F6C #6C201F #1F6C20
tetradic
#201F6C #6C1F45 #6B6C1F #1F6C46
square
#201F6C #6C1F45 #6B6C1F #1F6C46
split-complementary
#201F6C #6C461F #456C1F
monochromatic
#070718 #12113C #201F6C #2E2D9C #403EC8

Accessibility & contrast

On white

14.25
#201F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#201F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F6C
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F6C#FFFFFF#000000##FFFFFF
##201F6C1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201f6c;
/* rgb */ color: rgb(32, 31, 108);
/* oklch */ color: oklch(29.9% 0.129 275.8);
Tailwind
colors: {
  custom: {
    50: '#675b97',
    500: '#201f6c',
    950: '#000000',
  },
}
SCSS
$custom: #201f6c;
$custom-light: #675b97;
$custom-dark: #000000;
JSON
{
  "hex": "#201f6c",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 108
  },
  "hsl": {
    "h": 240.779,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29859,
    "c": 0.12928,
    "h": 275.8
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#201F6C
secondary
#9FA047
accent
#DF49DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #201F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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