#1D4584#1D4584

#1D4584 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.115 H 259.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1D4584
RGBrgb(29, 69, 132)
HSLhsl(217, 64%, 32%)
HSVhsv(217, 78%, 52%)
CMYKcmyk(78%, 47.7%, 0%, 48.2%)
CIE-LABlab(29.87, 9.84, -39.44)
CIE-LCHlch(29.87, 40.65, 284.01°)
OKLaboklab(39.85% -0.0214 -0.1131)
OKLCHoklch(39.85% 0.115 259.3)
XYZxyz(6.7982, 6.1826, 22.6604)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4584 #845C1D
analogous
#1D7984 #1D4584 #291D84
triadic
#1D4584 #841D45 #45841D
tetradic
#1D4584 #841D79 #845C1D #1D8429
square
#1D4584 #841D79 #845C1D #1D8429
split-complementary
#1D4584 #84291D #79841D
monochromatic
#071120 #122B52 #1D4584 #285FB6 #457ED6

Accessibility & contrast

On white

9.39
#1D4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4584
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4584#FFFFFF#000000##FFFFFF
##1D45841.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B86
Deuteranopia (green-blind)
#0A4283
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4584;
/* rgb */ color: rgb(29, 69, 132);
/* oklch */ color: oklch(39.8% 0.115 259.3);
Tailwind
colors: {
  custom: {
    50: '#6978a8',
    500: '#1d4584',
    950: '#000000',
  },
}
SCSS
$custom: #1d4584;
$custom-light: #6978a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4584",
  "rgb": {
    "r": 29,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 216.699,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.11514,
    "h": 259.3
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#1D4584
secondary
#B78B46
accent
#A641E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4584

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

Preview Lab → · Contrast checker → · Palette generator →

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