#1D1376#1D1376

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

Color values

HEX#1D1376
RGBrgb(29, 19, 118)
HSLhsl(246, 72%, 27%)
HSVhsv(246, 84%, 46%)
CMYKcmyk(75.4%, 83.9%, 0%, 53.7%)
CIE-LABlab(15.67, 37.54, -53.76)
CIE-LCHlch(15.67, 65.57, 304.93°)
OKLaboklab(28.96% 0.0136 -0.1554)
OKLCHoklch(28.96% 0.156 275)
XYZxyz(4.0085, 2.0346, 17.3175)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1376 #6C7613
analogous
#133A76 #1D1376 #4F1376
triadic
#1D1376 #761D13 #13761D
tetradic
#1D1376 #76133A #6C7613 #13764F
square
#1D1376 #76133A #6C7613 #13764F
split-complementary
#1D1376 #764F13 #3A7613
monochromatic
#06041A #100B41 #1D1376 #2A1BAB #3927DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D1376#FFFFFF#000000##FFFFFF
##1D13761.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)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1376;
/* rgb */ color: rgb(29, 19, 118);
/* oklch */ color: oklch(29.0% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a549f',
    500: '#1d1376',
    950: '#000000',
  },
}
SCSS
$custom: #1d1376;
$custom-light: #6a549f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1376",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 246.061,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28962,
    "c": 0.15605,
    "h": 275
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#1D1376
secondary
#A1AC39
accent
#EF39DD
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1376

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

Preview Lab → · Contrast checker → · Palette generator →

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