#1D1472#1D1472

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

Color values

HEX#1D1472
RGBrgb(29, 20, 114)
HSLhsl(246, 70%, 26%)
HSVhsv(246, 82%, 45%)
CMYKcmyk(74.6%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.36, 35.69, -51.68)
CIE-LCHlch(15.36, 62.81, 304.63°)
OKLaboklab(28.61% 0.0143 -0.1494)
OKLCHoklch(28.61% 0.15 275.5)
XYZxyz(3.7931, 1.9761, 16.0978)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1472 #697214
analogous
#143A72 #1D1472 #4C1472
triadic
#1D1472 #721D14 #14721D
tetradic
#1D1472 #72143A #697214 #14724C
square
#1D1472 #72143A #697214 #14724C
split-complementary
#1D1472 #724C14 #3A7214
monochromatic
#07051A #100B3E #1D1472 #2A1DA6 #3827D9

Accessibility & contrast

On white

15.05
#1D1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1472
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1472#FFFFFF#000000##FFFFFF
##1D14721.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d1472;
/* rgb */ color: rgb(29, 20, 114);
/* oklch */ color: oklch(28.6% 0.150 275.5);
Tailwind
colors: {
  custom: {
    50: '#68549c',
    500: '#1d1472',
    950: '#000000',
  },
}
SCSS
$custom: #1d1472;
$custom-light: #68549c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1472",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 245.745,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28607,
    "c": 0.15011,
    "h": 275.5
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#1D1472
secondary
#9EA839
accent
#ED3BDC
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1472

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

Preview Lab → · Contrast checker → · Palette generator →

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