#1D4688#1D4688

#1D4688 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.120 H 259.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1D4688
RGBrgb(29, 70, 136)
HSLhsl(217, 65%, 32%)
HSVhsv(217, 79%, 53%)
CMYKcmyk(78.7%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.44, 10.77, -40.99)
CIE-LCHlch(30.44, 42.38, 284.73°)
OKLaboklab(40.38% -0.0216 -0.1177)
OKLCHoklch(40.38% 0.12 259.6)
XYZxyz(7.1392, 6.4183, 24.1504)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4688 #885F1D
analogous
#1D7C88 #1D4688 #291D88
triadic
#1D4688 #881D46 #46881D
tetradic
#1D4688 #881D7C #885F1D #1D8829
square
#1D4688 #881D7C #885F1D #1D8829
split-complementary
#1D4688 #88291D #7C881D
monochromatic
#071223 #122C56 #1D4688 #2860BA #487FD8

Accessibility & contrast

On white

9.20
#1D4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1D4688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4688
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4688#FFFFFF#000000##FFFFFF
##1D46881.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8A
Deuteranopia (green-blind)
#044387
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1d4688;
/* rgb */ color: rgb(29, 70, 136);
/* oklch */ color: oklch(40.4% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#6a78ab',
    500: '#1d4688',
    950: '#000000',
  },
}
SCSS
$custom: #1d4688;
$custom-light: #6a78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4688",
  "rgb": {
    "r": 29,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 217.009,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.11963,
    "h": 259.6
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#1D4688
secondary
#BA8E47
accent
#A840E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4688

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

Preview Lab → · Contrast checker → · Palette generator →

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