#1D1A86#1D1A86

#1D1A86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.170 H 272.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1D1A86
RGBrgb(29, 26, 134)
HSLhsl(242, 68%, 31%)
HSVhsv(242, 81%, 53%)
CMYKcmyk(78.4%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.89, 39.16, -58.62)
CIE-LCHlch(18.89, 70.49, 303.75°)
OKLaboklab(31.77% 0.0069 -0.1696)
OKLCHoklch(31.77% 0.17 272.3)
XYZxyz(5.1777, 2.7207, 22.8019)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A86 #83861A
analogous
#1A4D86 #1D1A86 #531A86
triadic
#1D1A86 #861D1A #1A861D
tetradic
#1D1A86 #861A4D #83861A #1A8653
square
#1D1A86 #861A4D #83861A #1A8653
split-complementary
#1D1A86 #86531A #4D861A
monochromatic
#07061F #121053 #1D1A86 #2824B9 #4540DA

Accessibility & contrast

On white

13.60
#1D1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A86
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A86#FFFFFF#000000##FFFFFF
##1D1A861.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d1a86;
/* rgb */ color: rgb(29, 26, 134);
/* oklch */ color: oklch(31.8% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d59aa',
    500: '#1d1a86',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a86;
$custom-light: #6d59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a86",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 241.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.16979,
    "h": 272.3
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#1D1A86
secondary
#B6B942
accent
#EA3DE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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