#1D4991#1D4991

#1D4991 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.129 H 259.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1D4991
RGBrgb(29, 73, 145)
HSLhsl(217, 67%, 34%)
HSVhsv(217, 80%, 57%)
CMYKcmyk(80%, 49.7%, 0%, 43.1%)
CIE-LABlab(31.97, 12.36, -44.07)
CIE-LCHlch(31.97, 45.77, 285.67°)
OKLaboklab(41.75% -0.0227 -0.1267)
OKLCHoklch(41.75% 0.129 259.9)
XYZxyz(7.9982, 7.0697, 27.7256)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4991 #91651D
analogous
#1D8391 #1D4991 #2B1D91
triadic
#1D4991 #911D49 #49911D
tetradic
#1D4991 #911D83 #91651D #1D912B
square
#1D4991 #911D83 #91651D #1D912B
split-complementary
#1D4991 #912B1D #83911D
monochromatic
#09162B #132F5E #1D4991 #2763C4 #4D83DB

Accessibility & contrast

On white

8.70
#1D4991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D4991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4991
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4991#FFFFFF#000000##FFFFFF
##1D49911.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4991;
/* rgb */ color: rgb(29, 73, 145);
/* oklch */ color: oklch(41.7% 0.129 259.9);
Tailwind
colors: {
  custom: {
    50: '#6c7bb2',
    500: '#1d4991',
    950: '#000000',
  },
}
SCSS
$custom: #1d4991;
$custom-light: #6c7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4991",
  "rgb": {
    "r": 29,
    "g": 73,
    "b": 145
  },
  "hsl": {
    "h": 217.241,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.12868,
    "h": 259.9
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#1D4991
secondary
#BE934C
accent
#A93EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4991

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

Preview Lab → · Contrast checker → · Palette generator →

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