#201F59#201F59

#201F59 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.101 H 278.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#201F59
RGBrgb(32, 31, 89)
HSLhsl(241, 48%, 24%)
HSVhsv(241, 65%, 35%)
CMYKcmyk(64%, 65.2%, 0%, 65.1%)
CIE-LABlab(15.53, 20.12, -34.92)
CIE-LCHlch(15.53, 40.30, 299.96°)
OKLaboklab(28% 0.0148 -0.1004)
OKLCHoklch(28% 0.101 278.4)
XYZxyz(2.8882, 2.0081, 9.6847)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F59 #58591F
analogous
#1F3B59 #201F59 #3D1F59
triadic
#201F59 #59201F #1F5920
tetradic
#201F59 #591F3B #58591F #1F593D
square
#201F59 #591F3B #58591F #1F593D
split-complementary
#201F59 #593D1F #3B591F
monochromatic
#080817 #100F2C #201F59 #302F86 #413FB4

Accessibility & contrast

On white

14.98
#201F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#201F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F59
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F59#FFFFFF#000000##FFFFFF
##201F591.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201f59;
/* rgb */ color: rgb(32, 31, 89);
/* oklch */ color: oklch(28.0% 0.101 278.4);
Tailwind
colors: {
  custom: {
    50: '#625a88',
    500: '#201f59',
    950: '#000000',
  },
}
SCSS
$custom: #201f59;
$custom-light: #625a88;
$custom-dark: #000000;
JSON
{
  "hex": "#201f59",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 241.034,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28001,
    "c": 0.10144,
    "h": 278.4
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#201F59
secondary
#8C8E46
accent
#D850D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #201F59

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

Preview Lab → · Contrast checker → · Palette generator →

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