#1D4682#1D4682

#1D4682 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.111 H 258.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1D4682
RGBrgb(29, 70, 130)
HSLhsl(216, 64%, 31%)
HSVhsv(216, 78%, 51%)
CMYKcmyk(77.7%, 46.2%, 0%, 49%)
CIE-LABlab(30.04, 8.35, -37.92)
CIE-LCHlch(30.04, 38.83, 282.41°)
OKLaboklab(39.94% -0.0227 -0.1086)
OKLCHoklch(39.94% 0.111 258.2)
XYZxyz(6.7246, 6.2525, 21.9672)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4682 #82591D
analogous
#1D7882 #1D4682 #271D82
triadic
#1D4682 #821D46 #46821D
tetradic
#1D4682 #821D78 #82591D #1D8227
square
#1D4682 #821D78 #82591D #1D8227
split-complementary
#1D4682 #82271D #78821D
monochromatic
#07101E #122B50 #1D4682 #2861B4 #447FD5

Accessibility & contrast

On white

9.33
#1D4682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D4682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4682
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4682#FFFFFF#000000##FFFFFF
##1D46821.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C84
Deuteranopia (green-blind)
#134281
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d4682;
/* rgb */ color: rgb(29, 70, 130);
/* oklch */ color: oklch(39.9% 0.111 258.2);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1d4682',
    950: '#000000',
  },
}
SCSS
$custom: #1d4682;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4682",
  "rgb": {
    "r": 29,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 215.644,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.111,
    "h": 258.2
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#1D4682
secondary
#B58846
accent
#A341E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4682

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

Preview Lab → · Contrast checker → · Palette generator →

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