#1B1573#1B1573

#1B1573 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.151 H 274.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1B1573
RGBrgb(27, 21, 115)
HSLhsl(244, 69%, 27%)
HSVhsv(244, 82%, 45%)
CMYKcmyk(76.5%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.52, 35.30, -52.07)
CIE-LCHlch(15.52, 62.91, 304.13°)
OKLaboklab(28.72% 0.0108 -0.1506)
OKLCHoklch(28.72% 0.151 274.1)
XYZxyz(3.8136, 2.0068, 16.4027)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1573 #6D7315
analogous
#153E73 #1B1573 #4A1573
triadic
#1B1573 #731B15 #15731B
tetradic
#1B1573 #73153E #6D7315 #15734A
square
#1B1573 #73153E #6D7315 #15734A
split-complementary
#1B1573 #734A15 #3E7315
monochromatic
#06051A #0F0C3F #1B1573 #271EA7 #352AD8

Accessibility & contrast

On white

14.99
#1B1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1573
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1573#FFFFFF#000000##FFFFFF
##1B15731.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b1573;
/* rgb */ color: rgb(27, 21, 115);
/* oklch */ color: oklch(28.7% 0.151 274.1);
Tailwind
colors: {
  custom: {
    50: '#68559c',
    500: '#1b1573',
    950: '#000000',
  },
}
SCSS
$custom: #1b1573;
$custom-light: #68559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1573",
  "rgb": {
    "r": 27,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 243.83,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28716,
    "c": 0.15101,
    "h": 274.1
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#1B1573
secondary
#A2A93B
accent
#EC3CE1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B1573

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

Preview Lab → · Contrast checker → · Palette generator →

#1B1573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva