#1D4580#1D4580

#1D4580 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.109 H 258.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#1D4580
RGBrgb(29, 69, 128)
HSLhsl(216, 63%, 31%)
HSVhsv(216, 77%, 50%)
CMYKcmyk(77.3%, 46.1%, 0%, 49.8%)
CIE-LABlab(29.60, 8.22, -37.38)
CIE-LCHlch(29.60, 38.27, 282.41°)
OKLaboklab(39.56% -0.0222 -0.1071)
OKLCHoklch(39.56% 0.109 258.3)
XYZxyz(6.5297, 6.0752, 21.2464)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4580 #80581D
analogous
#1D7680 #1D4580 #271D80
triadic
#1D4580 #801D45 #45801D
tetradic
#1D4580 #801D76 #80581D #1D8027
square
#1D4580 #801D76 #80581D #1D8027
split-complementary
#1D4580 #80271D #76801D
monochromatic
#060F1C #122A4E #1D4580 #2860B2 #437ED4

Accessibility & contrast

On white

9.48
#1D4580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D4580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4580
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4580#FFFFFF#000000##FFFFFF
##1D45801.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#13427F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4580;
/* rgb */ color: rgb(29, 69, 128);
/* oklch */ color: oklch(39.6% 0.109 258.3);
Tailwind
colors: {
  custom: {
    50: '#6878a5',
    500: '#1d4580',
    950: '#000000',
  },
}
SCSS
$custom: #1d4580;
$custom-light: #6878a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4580",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 215.758,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.10936,
    "h": 258.3
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#1D4580
secondary
#B38745
accent
#A442E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4580

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

Preview Lab → · Contrast checker → · Palette generator →

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