#1D4082#1D4082

#1D4082 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.119 H 261.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1D4082
RGBrgb(29, 64, 130)
HSLhsl(219, 64%, 31%)
HSVhsv(219, 78%, 51%)
CMYKcmyk(77.7%, 50.8%, 0%, 49%)
CIE-LABlab(28.22, 12.48, -40.85)
CIE-LCHlch(28.22, 42.71, 286.99°)
OKLaboklab(38.54% -0.0173 -0.1174)
OKLCHoklch(38.54% 0.119 261.6)
XYZxyz(6.3679, 5.5390, 21.8483)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4082 #825F1D
analogous
#1D7282 #1D4082 #2C1D82
triadic
#1D4082 #821D40 #40821D
tetradic
#1D4082 #821D72 #825F1D #1D822C
square
#1D4082 #821D72 #825F1D #1D822C
split-complementary
#1D4082 #822C1D #72821D
monochromatic
#070F1E #122750 #1D4082 #2859B4 #4476D5

Accessibility & contrast

On white

9.96
#1D4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1D4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4082
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4082#FFFFFF#000000##FFFFFF
##1D40821.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d4082;
/* rgb */ color: rgb(29, 64, 130);
/* oklch */ color: oklch(38.5% 0.119 261.6);
Tailwind
colors: {
  custom: {
    50: '#6974a7',
    500: '#1d4082',
    950: '#000000',
  },
}
SCSS
$custom: #1d4082;
$custom-light: #6974a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4082",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 219.208,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.11866,
    "h": 261.6
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#1D4082
secondary
#B58F46
accent
#AD41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4082

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

Preview Lab → · Contrast checker → · Palette generator →

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