#1D4585#1D4585

#1D4585 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.117 H 259.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1D4585
RGBrgb(29, 69, 133)
HSLhsl(217, 64%, 32%)
HSVhsv(217, 78%, 52%)
CMYKcmyk(78.2%, 48.1%, 0%, 47.8%)
CIE-LABlab(29.94, 10.24, -39.95)
CIE-LCHlch(29.94, 41.24, 284.38°)
OKLaboklab(39.92% -0.0212 -0.1146)
OKLCHoklch(39.92% 0.117 259.5)
XYZxyz(6.8669, 6.2101, 23.0225)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4585 #855D1D
analogous
#1D7985 #1D4585 #291D85
triadic
#1D4585 #851D45 #45851D
tetradic
#1D4585 #851D79 #855D1D #1D8529
square
#1D4585 #851D79 #855D1D #1D8529
split-complementary
#1D4585 #85291D #79851D
monochromatic
#071121 #122B53 #1D4585 #285FB7 #467DD7

Accessibility & contrast

On white

9.37
#1D4585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D4585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4585
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4585#FFFFFF#000000##FFFFFF
##1D45851.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C87
Deuteranopia (green-blind)
#074284
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4585;
/* rgb */ color: rgb(29, 69, 133);
/* oklch */ color: oklch(39.9% 0.117 259.5);
Tailwind
colors: {
  custom: {
    50: '#6978a9',
    500: '#1d4585',
    950: '#000000',
  },
}
SCSS
$custom: #1d4585;
$custom-light: #6978a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4585",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 216.923,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.11658,
    "h": 259.5
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#1D4585
secondary
#B88C46
accent
#A741E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4585

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

Preview Lab → · Contrast checker → · Palette generator →

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