#1D4CA1#1D4CA1

#1D4CA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.147 H 261.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1D4CA1
RGBrgb(29, 76, 161)
HSLhsl(219, 69%, 37%)
HSVhsv(219, 82%, 63%)
CMYKcmyk(82%, 52.8%, 0%, 36.9%)
CIE-LABlab(33.99, 16.76, -50.50)
CIE-LCHlch(33.99, 53.20, 288.36°)
OKLaboklab(43.66% -0.0228 -0.1455)
OKLCHoklch(43.66% 0.147 261.1)
XYZxyz(9.5218, 8.0022, 34.7540)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4CA1 #A1721D
analogous
#1D8EA1 #1D4CA1 #301DA1
triadic
#1D4CA1 #A11D4C #4CA11D
tetradic
#1D4CA1 #A11D8E #A1721D #1DA130
square
#1D4CA1 #A11D8E #A1721D #1DA130
split-complementary
#1D4CA1 #A1301D #8EA11D
monochromatic
#0A1B39 #14346D #1D4CA1 #2664D5 #5888E1

Accessibility & contrast

On white

8.08
#1D4CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D4CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4CA1
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4CA1#FFFFFF#000000##FFFFFF
##1D4CA11.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4ca1;
/* rgb */ color: rgb(29, 76, 161);
/* oklch */ color: oklch(43.7% 0.147 261.1);
Tailwind
colors: {
  custom: {
    50: '#707dbd',
    500: '#1d4ca1',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ca1;
$custom-light: #707dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ca1",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 218.636,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.1473,
    "h": 261.1
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#1D4CA1
secondary
#C49D55
accent
#AD3CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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