#1D4C96#1D4C96

#1D4C96 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.132 H 259.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1D4C96
RGBrgb(29, 76, 150)
HSLhsl(217, 68%, 35%)
HSVhsv(217, 81%, 59%)
CMYKcmyk(80.7%, 49.3%, 0%, 41.2%)
CIE-LABlab(33.20, 12.34, -45.12)
CIE-LCHlch(33.20, 46.78, 285.29°)
OKLaboklab(42.81% -0.0243 -0.1297)
OKLCHoklch(42.81% 0.132 259.4)
XYZxyz(8.5941, 7.6311, 29.8682)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C96 #96671D
analogous
#1D8996 #1D4C96 #2A1D96
triadic
#1D4C96 #961D4C #4C961D
tetradic
#1D4C96 #961D89 #96671D #1D962A
square
#1D4C96 #961D89 #96671D #1D962A
split-complementary
#1D4C96 #962A1D #89961D
monochromatic
#09182F #133263 #1D4C96 #2766C9 #5087DD

Accessibility & contrast

On white

8.31
#1D4C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D4C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C96
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C96#FFFFFF#000000##FFFFFF
##1D4C961.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4c96;
/* rgb */ color: rgb(29, 76, 150);
/* oklch */ color: oklch(42.8% 0.132 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7db5',
    500: '#1d4c96',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c96;
$custom-light: #6d7db5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c96",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 150
  },
  "hsl": {
    "h": 216.694,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.13197,
    "h": 259.4
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#1D4C96
secondary
#C0944F
accent
#A73DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4C96

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

Preview Lab → · Contrast checker → · Palette generator →

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