#1D2386#1D2386

#1D2386 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.161 H 271.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1D2386
RGBrgb(29, 35, 134)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 53%)
CMYKcmyk(78.4%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.77, 33.85, -55.51)
CIE-LCHlch(20.77, 65.02, 301.38°)
OKLaboklab(33.1% 0.003 -0.1607)
OKLCHoklch(33.1% 0.161 271.1)
XYZxyz(5.4093, 3.1839, 22.8791)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2386 #86801D
analogous
#1D5886 #1D2386 #4B1D86
triadic
#1D2386 #861D23 #23861D
tetradic
#1D2386 #861D58 #86801D #1D864B
square
#1D2386 #861D58 #86801D #1D864B
split-complementary
#1D2386 #864B1D #58861D
monochromatic
#070921 #121654 #1D2386 #2830B8 #464FD7

Accessibility & contrast

On white

12.83
#1D2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2386
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2386#FFFFFF#000000##FFFFFF
##1D23861.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2386;
/* rgb */ color: rgb(29, 35, 134);
/* oklch */ color: oklch(33.1% 0.161 271.1);
Tailwind
colors: {
  custom: {
    50: '#6c5faa',
    500: '#1d2386',
    950: '#000000',
  },
}
SCSS
$custom: #1d2386;
$custom-light: #6c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2386",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 236.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.16074,
    "h": 271.1
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#1D2386
secondary
#B9B246
accent
#DE40E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2386

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

Preview Lab → · Contrast checker → · Palette generator →

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