#201FA8#201FA8

#201FA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.206 H 270.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#201FA8
RGBrgb(32, 31, 168)
HSLhsl(240, 69%, 39%)
HSVhsv(240, 82%, 66%)
CMYKcmyk(81%, 81.5%, 0%, 34.1%)
CIE-LABlab(24.04, 47.90, -71.03)
CIE-LCHlch(24.04, 85.67, 303.99°)
OKLaboklab(36.6% 0.0014 -0.2056)
OKLCHoklch(36.6% 0.206 270.4)
XYZxyz(8.1511, 4.1133, 37.4025)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201FA8 #A7A81F
analogous
#1F63A8 #201FA8 #651FA8
triadic
#201FA8 #A8201F #1FA820
tetradic
#201FA8 #A81F63 #A7A81F #1FA865
square
#201FA8 #A81F63 #A7A81F #1FA865
split-complementary
#201FA8 #A8651F #63A81F
monochromatic
#0C0C41 #161574 #201FA8 #2D2CD8 #6160E2

Accessibility & contrast

On white

11.52
#201FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#201FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201FA8
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201FA8#FFFFFF#000000##FFFFFF
##201FA81.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #201fa8;
/* rgb */ color: rgb(32, 31, 168);
/* oklch */ color: oklch(36.6% 0.206 270.4);
Tailwind
colors: {
  custom: {
    50: '#765ec3',
    500: '#201fa8',
    950: '#000000',
  },
}
SCSS
$custom: #201fa8;
$custom-light: #765ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#201fa8",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 240.438,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36602,
    "c": 0.20565,
    "h": 270.4
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#201FA8
secondary
#C5C65D
accent
#EC3CEA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #201FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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