#1D1476#1D1476

#1D1476 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.155 H 274.9°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#1D1476
RGBrgb(29, 20, 118)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 46%)
CMYKcmyk(75.4%, 83.1%, 0%, 53.7%)
CIE-LABlab(15.85, 37.02, -53.47)
CIE-LCHlch(15.85, 65.03, 304.70°)
OKLaboklab(29.09% 0.0132 -0.1546)
OKLCHoklch(29.09% 0.155 274.9)
XYZxyz(4.0258, 2.0691, 17.3232)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1476 #6D7614
analogous
#143C76 #1D1476 #4E1476
triadic
#1D1476 #761D14 #14761D
tetradic
#1D1476 #76143C #6D7614 #14764E
square
#1D1476 #76143C #6D7614 #14764E
split-complementary
#1D1476 #764E14 #3C7614
monochromatic
#06041A #100B42 #1D1476 #2A1DAA #3A2ADB

Accessibility & contrast

On white

14.85
#1D1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1476
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1476#FFFFFF#000000##FFFFFF
##1D14761.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1476;
/* rgb */ color: rgb(29, 20, 118);
/* oklch */ color: oklch(29.1% 0.155 274.9);
Tailwind
colors: {
  custom: {
    50: '#69549f',
    500: '#1d1476',
    950: '#000000',
  },
}
SCSS
$custom: #1d1476;
$custom-light: #69549f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1476",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 245.51,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29086,
    "c": 0.15517,
    "h": 274.9
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#1D1476
secondary
#A2AC3A
accent
#EE3ADD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1476

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

Preview Lab → · Contrast checker → · Palette generator →

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