#201F95#201F95

#201F95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.183 H 271.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#201F95
RGBrgb(32, 31, 149)
HSLhsl(241, 66%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(78.5%, 79.2%, 0%, 41.6%)
CIE-LABlab(21.79, 41.69, -63.16)
CIE-LCHlch(21.79, 75.68, 303.43°)
OKLaboklab(34.37% 0.0054 -0.1829)
OKLCHoklch(34.37% 0.183 271.7)
XYZxyz(6.5086, 3.4563, 28.7520)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F95 #94951F
analogous
#1F5995 #201F95 #5B1F95
triadic
#201F95 #95201F #1F9520
tetradic
#201F95 #951F59 #94951F #1F955B
square
#201F95 #951F59 #94951F #1F955B
split-complementary
#201F95 #955B1F #59951F
monochromatic
#0A0A30 #151462 #201F95 #2B2AC8 #5453DB

Accessibility & contrast

On white

12.42
#201F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#201F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F95
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F95#FFFFFF#000000##FFFFFF
##201F951.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002E93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201f95;
/* rgb */ color: rgb(32, 31, 149);
/* oklch */ color: oklch(34.4% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#201f95',
    950: '#000000',
  },
}
SCSS
$custom: #201f95;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#201f95",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 240.508,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3437,
    "c": 0.18293,
    "h": 271.7
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#201F95
secondary
#BEBF51
accent
#E93FE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201F95

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

Preview Lab → · Contrast checker → · Palette generator →

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