#1D1686#1D1686

#1D1686 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.173 H 272.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D1686
RGBrgb(29, 22, 134)
HSLhsl(244, 72%, 31%)
HSVhsv(244, 84%, 53%)
CMYKcmyk(78.4%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.17, 41.25, -59.81)
CIE-LCHlch(18.17, 72.65, 304.59°)
OKLaboklab(31.27% 0.0082 -0.173)
OKLCHoklch(31.27% 0.173 272.7)
XYZxyz(5.0952, 2.5557, 22.7744)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1686 #7F8616
analogous
#164786 #1D1686 #551686
triadic
#1D1686 #861D16 #16861D
tetradic
#1D1686 #861647 #7F8616 #168655
square
#1D1686 #861647 #7F8616 #168655
split-complementary
#1D1686 #865516 #478616
monochromatic
#06051D #120D51 #1D1686 #281FBB #4238DE

Accessibility & contrast

On white

13.90
#1D1686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D1686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1686
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1686#FFFFFF#000000##FFFFFF
##1D16861.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1686;
/* rgb */ color: rgb(29, 22, 134);
/* oklch */ color: oklch(31.3% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d57ab',
    500: '#1d1686',
    950: '#000000',
  },
}
SCSS
$custom: #1d1686;
$custom-light: #6d57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1686",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 243.75,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31272,
    "c": 0.17324,
    "h": 272.7
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#1D1686
secondary
#B2BA3E
accent
#EF39E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1686

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

Preview Lab → · Contrast checker → · Palette generator →

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