#201F5A#201F5A

#201F5A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.103 H 278.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#201F5A
RGBrgb(32, 31, 90)
HSLhsl(241, 49%, 24%)
HSVhsv(241, 66%, 35%)
CMYKcmyk(64.4%, 65.6%, 0%, 64.7%)
CIE-LABlab(15.62, 20.50, -35.44)
CIE-LCHlch(15.62, 40.94, 300.05°)
OKLaboklab(28.09% 0.0147 -0.1019)
OKLCHoklch(28.09% 0.103 278.2)
XYZxyz(2.9305, 2.0250, 9.9073)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F5A #595A1F
analogous
#1F3B5A #201F5A #3D1F5A
triadic
#201F5A #5A201F #1F5A20
tetradic
#201F5A #5A1F3B #595A1F #1F5A3D
square
#201F5A #5A1F3B #595A1F #1F5A3D
split-complementary
#201F5A #5A3D1F #3B5A1F
monochromatic
#080817 #100F2C #201F5A #302F88 #403EB5

Accessibility & contrast

On white

14.95
#201F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#201F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F5A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F5A#FFFFFF#000000##FFFFFF
##201F5A1.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201f5a;
/* rgb */ color: rgb(32, 31, 90);
/* oklch */ color: oklch(28.1% 0.103 278.2);
Tailwind
colors: {
  custom: {
    50: '#635a89',
    500: '#201f5a',
    950: '#000000',
  },
}
SCSS
$custom: #201f5a;
$custom-light: #635a89;
$custom-dark: #000000;
JSON
{
  "hex": "#201f5a",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 241.017,
    "s": 48.76,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28094,
    "c": 0.10297,
    "h": 278.2
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#201F5A
secondary
#8D8F46
accent
#D84FD6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #201F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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