#1D4086#1D4086

#1D4086 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.124 H 262.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1D4086
RGBrgb(29, 64, 134)
HSLhsl(220, 64%, 32%)
HSVhsv(220, 78%, 53%)
CMYKcmyk(78.4%, 52.2%, 0%, 47.5%)
CIE-LABlab(28.51, 14.10, -42.87)
CIE-LCHlch(28.51, 45.13, 288.20°)
OKLaboklab(38.85% -0.0167 -0.1233)
OKLCHoklch(38.85% 0.124 262.3)
XYZxyz(6.6416, 5.6485, 23.2899)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4086 #86631D
analogous
#1D7586 #1D4086 #2F1D86
triadic
#1D4086 #861D40 #40861D
tetradic
#1D4086 #861D75 #86631D #1D862F
square
#1D4086 #861D75 #86631D #1D862F
split-complementary
#1D4086 #862F1D #75861D
monochromatic
#071021 #122854 #1D4086 #2858B8 #4677D7

Accessibility & contrast

On white

9.86
#1D4086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D4086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4086
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4086#FFFFFF#000000##FFFFFF
##1D40861.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4086;
/* rgb */ color: rgb(29, 64, 134);
/* oklch */ color: oklch(38.8% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#6a74aa',
    500: '#1d4086',
    950: '#000000',
  },
}
SCSS
$custom: #1d4086;
$custom-light: #6a74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4086",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 220,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.12447,
    "h": 262.3
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#1D4086
secondary
#B99346
accent
#B040E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4086

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

Preview Lab → · Contrast checker → · Palette generator →

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