#201F58#201F58

#201F58 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.100 H 278.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#201F58
RGBrgb(32, 31, 88)
HSLhsl(241, 48%, 23%)
HSVhsv(241, 65%, 35%)
CMYKcmyk(63.6%, 64.8%, 0%, 65.5%)
CIE-LABlab(15.44, 19.75, -34.39)
CIE-LCHlch(15.44, 39.65, 299.87°)
OKLaboklab(27.91% 0.0148 -0.0988)
OKLCHoklch(27.91% 0.1 278.5)
XYZxyz(2.8465, 1.9914, 9.4650)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F58 #57581F
analogous
#1F3A58 #201F58 #3C1F58
triadic
#201F58 #58201F #1F5820
tetradic
#201F58 #581F3A #57581F #1F583C
square
#201F58 #581F3A #57581F #1F583C
split-complementary
#201F58 #583C1F #3A581F
monochromatic
#080817 #100F2B #201F58 #302F85 #413FB3

Accessibility & contrast

On white

15.02
#201F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F58
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F58#FFFFFF#000000##FFFFFF
##201F581.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201f58;
/* rgb */ color: rgb(32, 31, 88);
/* oklch */ color: oklch(27.9% 0.100 278.5);
Tailwind
colors: {
  custom: {
    50: '#625a88',
    500: '#201f58',
    950: '#000000',
  },
}
SCSS
$custom: #201f58;
$custom-light: #625a88;
$custom-dark: #000000;
JSON
{
  "hex": "#201f58",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 241.053,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27909,
    "c": 0.0999,
    "h": 278.5
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#201F58
secondary
#8B8D46
accent
#D750D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #201F58

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

Preview Lab → · Contrast checker → · Palette generator →

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