#201F6E#201F6E

#201F6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.132 H 275.5°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#201F6E
RGBrgb(32, 31, 110)
HSLhsl(241, 56%, 28%)
HSVhsv(241, 72%, 43%)
CMYKcmyk(70.9%, 71.8%, 0%, 56.9%)
CIE-LABlab(17.52, 27.97, -45.52)
CIE-LCHlch(17.52, 53.43, 301.57°)
OKLaboklab(30.07% 0.0127 -0.1315)
OKLCHoklch(30.07% 0.132 275.5)
XYZxyz(3.8992, 2.4125, 15.0090)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F6E #6D6E1F
analogous
#1F466E #201F6E #471F6E
triadic
#201F6E #6E201F #1F6E20
tetradic
#201F6E #6E1F46 #6D6E1F #1F6E47
square
#201F6E #6E1F46 #6D6E1F #1F6E47
split-complementary
#201F6E #6E471F #466E1F
monochromatic
#070718 #12123E #201F6E #2E2C9E #403FC9

Accessibility & contrast

On white

14.16
#201F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F6E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F6E#FFFFFF#000000##FFFFFF
##201F6E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201f6e;
/* rgb */ color: rgb(32, 31, 110);
/* oklch */ color: oklch(30.1% 0.132 275.5);
Tailwind
colors: {
  custom: {
    50: '#675b98',
    500: '#201f6e',
    950: '#000000',
  },
}
SCSS
$custom: #201f6e;
$custom-light: #675b98;
$custom-dark: #000000;
JSON
{
  "hex": "#201f6e",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 240.759,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30065,
    "c": 0.13208,
    "h": 275.5
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#201F6E
secondary
#A1A247
accent
#DF48DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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