#1D1573#1D1573

#1D1573 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.150 H 275.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1D1573
RGBrgb(29, 21, 115)
HSLhsl(245, 69%, 27%)
HSVhsv(245, 82%, 45%)
CMYKcmyk(74.8%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.67, 35.48, -51.82)
CIE-LCHlch(15.67, 62.80, 304.40°)
OKLaboklab(28.86% 0.0136 -0.1498)
OKLCHoklch(28.86% 0.15 275.2)
XYZxyz(3.8684, 2.0350, 16.4053)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1573 #6B7315
analogous
#153C73 #1D1573 #4C1573
triadic
#1D1573 #731D15 #15731D
tetradic
#1D1573 #73153C #6B7315 #15734C
square
#1D1573 #73153C #6B7315 #15734C
split-complementary
#1D1573 #734C15 #3C7315
monochromatic
#07051A #100C3F #1D1573 #2A1EA7 #392AD8

Accessibility & contrast

On white

14.93
#1D1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1573
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1573#FFFFFF#000000##FFFFFF
##1D15731.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1573;
/* rgb */ color: rgb(29, 21, 115);
/* oklch */ color: oklch(28.9% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#69559c',
    500: '#1d1573',
    950: '#000000',
  },
}
SCSS
$custom: #1d1573;
$custom-light: #69559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1573",
  "rgb": {
    "r": 29,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 245.106,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.15046,
    "h": 275.2
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#1D1573
secondary
#A0A93B
accent
#EC3CDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1573

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

Preview Lab → · Contrast checker → · Palette generator →

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