#1D4381#1D4381

#1D4381 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.2% C 0.113 H 259.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1D4381
RGBrgb(29, 67, 129)
HSLhsl(217, 63%, 31%)
HSVhsv(217, 78%, 51%)
CMYKcmyk(77.5%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.06, 10.00, -38.88)
CIE-LCHlch(29.06, 40.14, 284.42°)
OKLaboklab(39.16% -0.0201 -0.1115)
OKLCHoklch(39.16% 0.113 259.8)
XYZxyz(6.4749, 5.8598, 21.5544)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4381 #815B1D
analogous
#1D7581 #1D4381 #291D81
triadic
#1D4381 #811D43 #43811D
tetradic
#1D4381 #811D75 #815B1D #1D8129
square
#1D4381 #811D75 #815B1D #1D8129
split-complementary
#1D4381 #81291D #75811D
monochromatic
#070F1D #12294F #1D4381 #285DB3 #447BD5

Accessibility & contrast

On white

9.67
#1D4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1D4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4381
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4381#FFFFFF#000000##FFFFFF
##1D43811.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#094080
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4381;
/* rgb */ color: rgb(29, 67, 129);
/* oklch */ color: oklch(39.2% 0.113 259.8);
Tailwind
colors: {
  custom: {
    50: '#6876a6',
    500: '#1d4381',
    950: '#000000',
  },
}
SCSS
$custom: #1d4381;
$custom-light: #6876a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4381",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 217.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.11334,
    "h": 259.8
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#1D4381
secondary
#B48A46
accent
#A841E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D4381

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

Preview Lab → · Contrast checker → · Palette generator →

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