#201F49#201F49

#201F49 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.076 H 281.0°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#201F49
RGBrgb(32, 31, 73)
HSLhsl(241, 40%, 20%)
HSVhsv(241, 58%, 29%)
CMYKcmyk(56.2%, 57.5%, 0%, 71.4%)
CIE-LABlab(14.22, 14.11, -26.15)
CIE-LCHlch(14.22, 29.72, 298.35°)
OKLaboklab(26.61% 0.0145 -0.0746)
OKLCHoklch(26.61% 0.076 281)
XYZxyz(2.2879, 1.7680, 6.5227)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F49 #48491F
analogous
#1F3349 #201F49 #351F49
triadic
#201F49 #49201F #1F4920
tetradic
#201F49 #491F33 #48491F #1F4935
square
#201F49 #491F33 #48491F #1F4935
split-complementary
#201F49 #49351F #33491F
monochromatic
#090915 #0D0D1E #201F49 #333174 #46439F

Accessibility & contrast

On white

15.51
#201F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F49
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F49#FFFFFF#000000##FFFFFF
##201F491.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264A
Deuteranopia (green-blind)
#062348
Tritanopia (blue-blind)
#102830
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201f49;
/* rgb */ color: rgb(32, 31, 73);
/* oklch */ color: oklch(26.6% 0.076 281.0);
Tailwind
colors: {
  custom: {
    50: '#5f5a7c',
    500: '#201f49',
    950: '#000000',
  },
}
SCSS
$custom: #201f49;
$custom-light: #5f5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#201f49",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 241.429,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26612,
    "c": 0.07598,
    "h": 281
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#201F49
secondary
#7C7E46
accent
#D058CD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#050309
muted
#79787B

Preview Lab

Preview with #201F49

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

Preview Lab → · Contrast checker → · Palette generator →

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