#1D4CA6#1D4CA6

#1D4CA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.154 H 261.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#1D4CA6
RGBrgb(29, 76, 166)
HSLhsl(219, 70%, 38%)
HSVhsv(219, 83%, 65%)
CMYKcmyk(82.5%, 54.2%, 0%, 34.9%)
CIE-LABlab(34.36, 18.75, -52.89)
CIE-LCHlch(34.36, 56.12, 289.52°)
OKLaboklab(44.06% -0.0222 -0.1526)
OKLCHoklch(44.06% 0.154 261.7)
XYZxyz(9.9716, 8.1821, 37.1227)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4CA6 #A6771D
analogous
#1D90A6 #1D4CA6 #321DA6
triadic
#1D4CA6 #A61D4C #4CA61D
tetradic
#1D4CA6 #A61D90 #A6771D #1DA632
square
#1D4CA6 #A61D90 #A6771D #1DA632
split-complementary
#1D4CA6 #A6321D #90A61D
monochromatic
#0B1C3E #143472 #1D4CA6 #2764D9 #5B89E2

Accessibility & contrast

On white

7.96
#1D4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#1D4CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4CA6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4CA6#FFFFFF#000000##FFFFFF
##1D4CA61.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4ca6;
/* rgb */ color: rgb(29, 76, 166);
/* oklch */ color: oklch(44.1% 0.154 261.7);
Tailwind
colors: {
  custom: {
    50: '#717dc1',
    500: '#1d4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ca6;
$custom-light: #717dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ca6",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 219.416,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.15419,
    "h": 261.7
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#1D4CA6
secondary
#C6A159
accent
#B03BED
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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