#201951#201951

#201951 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.098 H 282.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#201951
RGBrgb(32, 25, 81)
HSLhsl(248, 53%, 21%)
HSVhsv(248, 69%, 32%)
CMYKcmyk(60.5%, 69.1%, 0%, 68.2%)
CIE-LABlab(13.21, 21.36, -33.28)
CIE-LCHlch(13.21, 39.55, 302.69°)
OKLaboklab(26.08% 0.0219 -0.0956)
OKLCHoklch(26.08% 0.098 282.9)
XYZxyz(2.4280, 1.5963, 7.9632)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201951 #4A5119
analogous
#192E51 #201951 #3C1951
triadic
#201951 #512019 #195120
tetradic
#201951 #51192E #4A5119 #19513C
square
#201951 #51192E #4A5119 #19513C
split-complementary
#201951 #513C19 #2E5119
monochromatic
#090717 #0E0B22 #201951 #322780 #4536AF

Accessibility & contrast

On white

15.92
#201951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201951
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201951#FFFFFF#000000##FFFFFF
##2019511.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#092732
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201951;
/* rgb */ color: rgb(32, 25, 81);
/* oklch */ color: oklch(26.1% 0.098 282.9);
Tailwind
colors: {
  custom: {
    50: '#615682',
    500: '#201951',
    950: '#000000',
  },
}
SCSS
$custom: #201951;
$custom-light: #615682;
$custom-dark: #000000;
JSON
{
  "hex": "#201951",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 247.5,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26076,
    "c": 0.09806,
    "h": 282.9
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#201951
secondary
#7E873E
accent
#DC4CCA
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030A
muted
#7A787C

Preview Lab

Preview with #201951

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

Preview Lab → · Contrast checker → · Palette generator →

#201951 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva