#1D4582#1D4582

#1D4582 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.112 H 258.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1D4582
RGBrgb(29, 69, 130)
HSLhsl(216, 64%, 31%)
HSVhsv(216, 78%, 51%)
CMYKcmyk(77.7%, 46.9%, 0%, 49%)
CIE-LABlab(29.73, 9.03, -38.41)
CIE-LCHlch(29.73, 39.46, 283.23°)
OKLaboklab(39.7% -0.0218 -0.1101)
OKLCHoklch(39.7% 0.112 258.8)
XYZxyz(6.6626, 6.1284, 21.9465)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4582 #825A1D
analogous
#1D7782 #1D4582 #281D82
triadic
#1D4582 #821D45 #45821D
tetradic
#1D4582 #821D77 #825A1D #1D8228
square
#1D4582 #821D77 #825A1D #1D8228
split-complementary
#1D4582 #82281D #77821D
monochromatic
#07101E #122A50 #1D4582 #2860B4 #447ED5

Accessibility & contrast

On white

9.43
#1D4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4582
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4582#FFFFFF#000000##FFFFFF
##1D45821.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4582;
/* rgb */ color: rgb(29, 69, 130);
/* oklch */ color: oklch(39.7% 0.112 258.8);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1d4582',
    950: '#000000',
  },
}
SCSS
$custom: #1d4582;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4582",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 216.238,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.397,
    "c": 0.11225,
    "h": 258.8
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#1D4582
secondary
#B58946
accent
#A541E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4582

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

Preview Lab → · Contrast checker → · Palette generator →

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