#1D4C99#1D4C99

#1D4C99 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.136 H 259.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1D4C99
RGBrgb(29, 76, 153)
HSLhsl(217, 68%, 36%)
HSVhsv(217, 81%, 60%)
CMYKcmyk(81%, 50.3%, 0%, 40%)
CIE-LABlab(33.41, 13.55, -46.60)
CIE-LCHlch(33.41, 48.53, 286.21°)
OKLaboklab(43.03% -0.0238 -0.1341)
OKLCHoklch(43.03% 0.136 259.9)
XYZxyz(8.8388, 7.7289, 31.1568)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C99 #996A1D
analogous
#1D8A99 #1D4C99 #2C1D99
triadic
#1D4C99 #991D4C #4C991D
tetradic
#1D4C99 #991D8A #996A1D #1D992C
square
#1D4C99 #991D8A #996A1D #1D992C
split-complementary
#1D4C99 #992C1D #8A991D
monochromatic
#091932 #133266 #1D4C99 #2766CC #5287DE

Accessibility & contrast

On white

8.25
#1D4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1D4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C99
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C99#FFFFFF#000000##FFFFFF
##1D4C991.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4c99;
/* rgb */ color: rgb(29, 76, 153);
/* oklch */ color: oklch(43.0% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7db8',
    500: '#1d4c99',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c99;
$custom-light: #6e7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c99",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 217.258,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.13617,
    "h": 259.9
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#1D4C99
secondary
#C19751
accent
#A93DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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