#201B52#201B52

#201B52 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.097 H 281.7°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#201B52
RGBrgb(32, 27, 82)
HSLhsl(245, 50%, 21%)
HSVhsv(245, 67%, 32%)
CMYKcmyk(61%, 67.1%, 0%, 67.8%)
CIE-LABlab(13.83, 20.33, -32.95)
CIE-LCHlch(13.83, 38.72, 301.68°)
OKLaboklab(26.56% 0.0195 -0.0946)
OKLCHoklch(26.56% 0.097 281.7)
XYZxyz(2.5101, 1.7000, 8.1769)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B52 #4D521B
analogous
#1B3252 #201B52 #3C1B52
triadic
#201B52 #52201B #1B5220
tetradic
#201B52 #521B32 #4D521B #1B523C
square
#201B52 #521B32 #4D521B #1B523C
split-complementary
#201B52 #523C1B #32521B
monochromatic
#090817 #0E0C24 #201B52 #322A80 #4439AE

Accessibility & contrast

On white

15.67
#201B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#201B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B52
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B52#FFFFFF#000000##FFFFFF
##201B521.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#072833
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201b52;
/* rgb */ color: rgb(32, 27, 82);
/* oklch */ color: oklch(26.6% 0.097 281.7);
Tailwind
colors: {
  custom: {
    50: '#615783',
    500: '#201b52',
    950: '#000000',
  },
}
SCSS
$custom: #201b52;
$custom-light: #615783;
$custom-dark: #000000;
JSON
{
  "hex": "#201b52",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 245.455,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26556,
    "c": 0.09662,
    "h": 281.7
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#201B52
secondary
#818841
accent
#DA4ECD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201B52

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

Preview Lab → · Contrast checker → · Palette generator →

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