#1D3C86#1D3C86

#1D3C86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.130 H 264.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1D3C86
RGBrgb(29, 60, 134)
HSLhsl(222, 64%, 32%)
HSVhsv(222, 78%, 53%)
CMYKcmyk(78.4%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.33, 16.88, -44.77)
CIE-LCHlch(27.33, 47.85, 290.66°)
OKLaboklab(37.96% -0.0134 -0.129)
OKLCHoklch(37.96% 0.13 264)
XYZxyz(6.4241, 5.2134, 23.2174)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3C86 #86671D
analogous
#1D7186 #1D3C86 #331D86
triadic
#1D3C86 #861D3C #3C861D
tetradic
#1D3C86 #861D71 #86671D #1D8633
square
#1D3C86 #861D71 #86671D #1D8633
split-complementary
#1D3C86 #86331D #71861D
monochromatic
#070F21 #122554 #1D3C86 #2853B8 #4671D7

Accessibility & contrast

On white

10.28
#1D3C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1D3C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3C86
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3C86#FFFFFF#000000##FFFFFF
##1D3C861.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024689
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d3c86;
/* rgb */ color: rgb(29, 60, 134);
/* oklch */ color: oklch(38.0% 0.130 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a71aa',
    500: '#1d3c86',
    950: '#000000',
  },
}
SCSS
$custom: #1d3c86;
$custom-light: #6a71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3c86",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 222.286,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.1297,
    "h": 264
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#1D3C86
secondary
#B99746
accent
#B640E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3C86

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

Preview Lab → · Contrast checker → · Palette generator →

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