#1D4D96#1D4D96

#1D4D96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.0% C 0.131 H 258.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#1D4D96
RGBrgb(29, 77, 150)
HSLhsl(216, 68%, 35%)
HSVhsv(216, 81%, 59%)
CMYKcmyk(80.7%, 48.7%, 0%, 41.2%)
CIE-LABlab(33.50, 11.66, -44.64)
CIE-LCHlch(33.50, 46.14, 284.64°)
OKLaboklab(43.03% -0.0251 -0.1283)
OKLCHoklch(43.03% 0.131 258.9)
XYZxyz(8.6636, 7.7699, 29.8914)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D96 #96661D
analogous
#1D8A96 #1D4D96 #291D96
triadic
#1D4D96 #961D4D #4D961D
tetradic
#1D4D96 #961D8A #96661D #1D9629
square
#1D4D96 #961D8A #96661D #1D9629
split-complementary
#1D4D96 #96291D #8A961D
monochromatic
#09182F #133363 #1D4D96 #2767C9 #5088DD

Accessibility & contrast

On white

8.22
#1D4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4D96
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D96#FFFFFF#000000##FFFFFF
##1D4D961.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4d96;
/* rgb */ color: rgb(29, 77, 150);
/* oklch */ color: oklch(43.0% 0.131 258.9);
Tailwind
colors: {
  custom: {
    50: '#6d7eb5',
    500: '#1d4d96',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d96;
$custom-light: #6d7eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d96",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 216.198,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.13072,
    "h": 258.9
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#1D4D96
secondary
#C0934F
accent
#A63DEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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