#1D4C91#1D4C91

#1D4C91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.4% C 0.125 H 258.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#1D4C91
RGBrgb(29, 76, 145)
HSLhsl(216, 67%, 34%)
HSVhsv(216, 80%, 57%)
CMYKcmyk(80%, 47.6%, 0%, 43.1%)
CIE-LABlab(32.86, 10.32, -42.62)
CIE-LCHlch(32.86, 43.86, 283.62°)
OKLaboklab(42.43% -0.0252 -0.1224)
OKLCHoklch(42.43% 0.125 258.4)
XYZxyz(8.2001, 7.4735, 27.7929)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C91 #91621D
analogous
#1D8691 #1D4C91 #281D91
triadic
#1D4C91 #911D4C #4C911D
tetradic
#1D4C91 #911D86 #91621D #1D9128
square
#1D4C91 #911D86 #91621D #1D9128
split-complementary
#1D4C91 #91281D #86911D
monochromatic
#09172B #13315E #1D4C91 #2767C4 #4D87DB

Accessibility & contrast

On white

8.42
#1D4C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D4C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C91
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C91#FFFFFF#000000##FFFFFF
##1D4C911.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#074890
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4c91;
/* rgb */ color: rgb(29, 76, 145);
/* oklch */ color: oklch(42.4% 0.125 258.4);
Tailwind
colors: {
  custom: {
    50: '#6c7db2',
    500: '#1d4c91',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c91;
$custom-light: #6c7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c91",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 215.69,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.12493,
    "h": 258.4
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#1D4C91
secondary
#BE904C
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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