#201B45#201B45

#201B45 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.076 H 285.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#201B45
RGBrgb(32, 27, 69)
HSLhsl(247, 44%, 19%)
HSVhsv(247, 61%, 27%)
CMYKcmyk(53.6%, 60.9%, 0%, 72.9%)
CIE-LABlab(12.74, 15.57, -25.76)
CIE-LCHlch(12.74, 30.10, 301.14°)
OKLaboklab(25.41% 0.0197 -0.0735)
OKLCHoklch(25.41% 0.076 285)
XYZxyz(2.0615, 1.5205, 5.8139)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B45 #40451B
analogous
#1B2B45 #201B45 #351B45
triadic
#201B45 #45201B #1B4520
tetradic
#201B45 #451B2B #40451B #1B4535
square
#201B45 #451B2B #40451B #1B4535
split-complementary
#201B45 #45351B #2B451B
monochromatic
#0A0916 #0C0A19 #201B45 #342C71 #493D9D

Accessibility & contrast

On white

16.10
#201B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#201B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B45
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B45#FFFFFF#000000##FFFFFF
##201B451.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052246
Deuteranopia (green-blind)
#042044
Tritanopia (blue-blind)
#13242D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201b45;
/* rgb */ color: rgb(32, 27, 69);
/* oklch */ color: oklch(25.4% 0.076 285.0);
Tailwind
colors: {
  custom: {
    50: '#5f5779',
    500: '#201b45',
    950: '#000000',
  },
}
SCSS
$custom: #201b45;
$custom-light: #5f5779;
$custom-dark: #000000;
JSON
{
  "hex": "#201b45",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 247.143,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25408,
    "c": 0.07607,
    "h": 285
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#201B45
secondary
#747B41
accent
#D354C4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050309
muted
#79787B

Preview Lab

Preview with #201B45

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

Preview Lab → · Contrast checker → · Palette generator →

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