#201F79#201F79

#201F79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.147 H 274.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#201F79
RGBrgb(32, 31, 121)
HSLhsl(241, 59%, 30%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(73.6%, 74.4%, 0%, 52.5%)
CIE-LABlab(18.66, 31.97, -50.74)
CIE-LCHlch(18.66, 59.97, 302.21°)
OKLaboklab(31.23% 0.0109 -0.1467)
OKLCHoklch(31.23% 0.147 274.3)
XYZxyz(4.5357, 2.6671, 18.3612)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F79 #78791F
analogous
#1F4B79 #201F79 #4D1F79
triadic
#201F79 #79201F #1F7920
tetradic
#201F79 #791F4B #78791F #1F794D
square
#201F79 #791F4B #78791F #1F794D
split-complementary
#201F79 #794D1F #4B791F
monochromatic
#060618 #131348 #201F79 #2D2BAA #4543CF

Accessibility & contrast

On white

13.69
#201F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#201F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F79
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F79#FFFFFF#000000##FFFFFF
##201F791.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201f79;
/* rgb */ color: rgb(32, 31, 121);
/* oklch */ color: oklch(31.2% 0.147 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a5ba1',
    500: '#201f79',
    950: '#000000',
  },
}
SCSS
$custom: #201f79;
$custom-light: #6a5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#201f79",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 240.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31229,
    "c": 0.14712,
    "h": 274.3
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#201F79
secondary
#ABAC47
accent
#E245E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #201F79

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

Preview Lab → · Contrast checker → · Palette generator →

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