#201B4F#201B4F

#201B4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.092 H 282.4°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#201B4F
RGBrgb(32, 27, 79)
HSLhsl(246, 49%, 21%)
HSVhsv(246, 66%, 31%)
CMYKcmyk(59.5%, 65.8%, 0%, 69%)
CIE-LABlab(13.56, 19.23, -31.34)
CIE-LCHlch(13.56, 36.76, 301.53°)
OKLaboklab(26.28% 0.0197 -0.0899)
OKLCHoklch(26.28% 0.092 282.4)
XYZxyz(2.3984, 1.6553, 7.5887)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B4F #4A4F1B
analogous
#1B304F #201B4F #3A1B4F
triadic
#201B4F #4F201B #1B4F20
tetradic
#201B4F #4F1B30 #4A4F1B #1B4F3A
square
#201B4F #4F1B30 #4A4F1B #1B4F3A
split-complementary
#201B4F #4F3A1B #304F1B
monochromatic
#090817 #0E0B21 #201B4F #322B7D #453AAA

Accessibility & contrast

On white

15.78
#201B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B4F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B4F#FFFFFF#000000##FFFFFF
##201B4F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#0B2732
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201b4f;
/* rgb */ color: rgb(32, 27, 79);
/* oklch */ color: oklch(26.3% 0.092 282.4);
Tailwind
colors: {
  custom: {
    50: '#615781',
    500: '#201b4f',
    950: '#000000',
  },
}
SCSS
$custom: #201b4f;
$custom-light: #615781;
$custom-dark: #000000;
JSON
{
  "hex": "#201b4f",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 245.769,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.092,
    "h": 282.4
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#201B4F
secondary
#7E8541
accent
#D94FCB
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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