#1D4D99#1D4D99

#1D4D99 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.135 H 259.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#1D4D99
RGBrgb(29, 77, 153)
HSLhsl(217, 68%, 36%)
HSVhsv(217, 81%, 60%)
CMYKcmyk(81%, 49.7%, 0%, 40%)
CIE-LABlab(33.71, 12.87, -46.13)
CIE-LCHlch(33.71, 47.89, 285.59°)
OKLaboklab(43.26% -0.0246 -0.1326)
OKLCHoklch(43.26% 0.135 259.5)
XYZxyz(8.9082, 7.8678, 31.1800)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D99 #99691D
analogous
#1D8B99 #1D4D99 #2B1D99
triadic
#1D4D99 #991D4D #4D991D
tetradic
#1D4D99 #991D8B #99691D #1D992B
square
#1D4D99 #991D8B #99691D #1D992B
split-complementary
#1D4D99 #992B1D #8B991D
monochromatic
#091932 #133366 #1D4D99 #2767CC #5288DE

Accessibility & contrast

On white

8.16
#1D4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1D4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D99
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D99#FFFFFF#000000##FFFFFF
##1D4D991.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4d99;
/* rgb */ color: rgb(29, 77, 153);
/* oklch */ color: oklch(43.3% 0.135 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1d4d99',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d99;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d99",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 216.774,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.13492,
    "h": 259.5
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#1D4D99
secondary
#C19651
accent
#A83DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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