#1D1372#1D1372

#1D1372 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.151 H 275.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1D1372
RGBrgb(29, 19, 114)
HSLhsl(246, 71%, 26%)
HSVhsv(246, 83%, 45%)
CMYKcmyk(74.6%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.18, 36.22, -51.99)
CIE-LCHlch(15.18, 63.36, 304.87°)
OKLaboklab(28.48% 0.0148 -0.1503)
OKLCHoklch(28.48% 0.151 275.6)
XYZxyz(3.7758, 1.9415, 16.0921)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1372 #687213
analogous
#133872 #1D1372 #4C1372
triadic
#1D1372 #721D13 #13721D
tetradic
#1D1372 #721338 #687213 #13724C
square
#1D1372 #721338 #687213 #13724C
split-complementary
#1D1372 #724C13 #387213
monochromatic
#07041A #100A3E #1D1372 #2A1CA6 #3825DB

Accessibility & contrast

On white

15.13
#1D1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1372
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1372#FFFFFF#000000##FFFFFF
##1D13721.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1372;
/* rgb */ color: rgb(29, 19, 114);
/* oklch */ color: oklch(28.5% 0.151 275.6);
Tailwind
colors: {
  custom: {
    50: '#68549c',
    500: '#1d1372',
    950: '#000000',
  },
}
SCSS
$custom: #1d1372;
$custom-light: #68549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1372",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 246.316,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28478,
    "c": 0.15102,
    "h": 275.6
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#1D1372
secondary
#9DA938
accent
#EE3ADB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1372

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

Preview Lab → · Contrast checker → · Palette generator →

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