#201F94#201F94

#201F94 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.182 H 271.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#201F94
RGBrgb(32, 31, 148)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 58%)
CMYKcmyk(78.4%, 79.1%, 0%, 42%)
CIE-LABlab(21.67, 41.35, -62.74)
CIE-LCHlch(21.67, 75.14, 303.39°)
OKLaboklab(34.26% 0.0056 -0.1816)
OKLCHoklch(34.26% 0.182 271.8)
XYZxyz(6.4291, 3.4245, 28.3334)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F94 #93941F
analogous
#1F5894 #201F94 #5B1F94
triadic
#201F94 #94201F #1F9420
tetradic
#201F94 #941F58 #93941F #1F945B
square
#201F94 #941F58 #93941F #1F945B
split-complementary
#201F94 #945B1F #58941F
monochromatic
#0A0A2F #151461 #201F94 #2B2AC7 #5453DB

Accessibility & contrast

On white

12.46
#201F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F94
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F94#FFFFFF#000000##FFFFFF
##201F941.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201f94;
/* rgb */ color: rgb(32, 31, 148);
/* oklch */ color: oklch(34.3% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#715db5',
    500: '#201f94',
    950: '#000000',
  },
}
SCSS
$custom: #201f94;
$custom-light: #715db5;
$custom-dark: #000000;
JSON
{
  "hex": "#201f94",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 240.513,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34255,
    "c": 0.18171,
    "h": 271.8
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#201F94
secondary
#BDBE51
accent
#E83FE7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201F94

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

Preview Lab → · Contrast checker → · Palette generator →

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