#1D4891#1D4891

#1D4891 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.130 H 260.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#1D4891
RGBrgb(29, 72, 145)
HSLhsl(218, 67%, 34%)
HSVhsv(218, 80%, 57%)
CMYKcmyk(80%, 50.3%, 0%, 43.1%)
CIE-LABlab(31.67, 13.04, -44.55)
CIE-LCHlch(31.67, 46.42, 286.32°)
OKLaboklab(41.52% -0.0218 -0.1281)
OKLCHoklch(41.52% 0.13 260.3)
XYZxyz(7.9330, 6.9393, 27.7039)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4891 #91661D
analogous
#1D8291 #1D4891 #2C1D91
triadic
#1D4891 #911D48 #48911D
tetradic
#1D4891 #911D82 #91661D #1D912C
square
#1D4891 #911D82 #91661D #1D912C
split-complementary
#1D4891 #912C1D #82911D
monochromatic
#09152B #132F5E #1D4891 #2761C4 #4D82DB

Accessibility & contrast

On white

8.79
#1D4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1D4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4891
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4891#FFFFFF#000000##FFFFFF
##1D48911.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4891;
/* rgb */ color: rgb(29, 72, 145);
/* oklch */ color: oklch(41.5% 0.130 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c7ab2',
    500: '#1d4891',
    950: '#000000',
  },
}
SCSS
$custom: #1d4891;
$custom-light: #6c7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4891",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 217.759,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.12995,
    "h": 260.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#1D4891
secondary
#BE944C
accent
#AA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4891

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

Preview Lab → · Contrast checker → · Palette generator →

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