#1D3A86#1D3A86

#1D3A86 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.132 H 264.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1D3A86
RGBrgb(29, 58, 134)
HSLhsl(223, 64%, 32%)
HSVhsv(223, 78%, 53%)
CMYKcmyk(78.4%, 56.7%, 0%, 47.5%)
CIE-LABlab(26.76, 18.28, -45.71)
CIE-LCHlch(26.76, 49.23, 291.80°)
OKLaboklab(37.52% -0.0119 -0.1318)
OKLCHoklch(37.52% 0.132 264.9)
XYZxyz(6.3213, 5.0078, 23.1831)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A86 #86691D
analogous
#1D6E86 #1D3A86 #351D86
triadic
#1D3A86 #861D3A #3A861D
tetradic
#1D3A86 #861D6E #86691D #1D8635
square
#1D3A86 #861D6E #86691D #1D8635
split-complementary
#1D3A86 #86351D #6E861D
monochromatic
#070E21 #122454 #1D3A86 #2850B8 #466ED7

Accessibility & contrast

On white

10.49
#1D3A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1D3A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A86
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A86#FFFFFF#000000##FFFFFF
##1D3A861.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3a86;
/* rgb */ color: rgb(29, 58, 134);
/* oklch */ color: oklch(37.5% 0.132 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6faa',
    500: '#1d3a86',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a86;
$custom-light: #6a6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a86",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 223.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.13232,
    "h": 264.9
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#1D3A86
secondary
#B99946
accent
#B940E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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