#1D4EA1#1D4EA1

#1D4EA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.145 H 260.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#1D4EA1
RGBrgb(29, 78, 161)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 82%, 63%)
CMYKcmyk(82%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.56, 15.41, -49.56)
CIE-LCHlch(34.56, 51.90, 287.27°)
OKLaboklab(44.1% -0.0243 -0.1427)
OKLCHoklch(44.1% 0.145 260.4)
XYZxyz(9.6618, 8.2820, 34.8007)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4EA1 #A1701D
analogous
#1D90A1 #1D4EA1 #2E1DA1
triadic
#1D4EA1 #A11D4E #4EA11D
tetradic
#1D4EA1 #A11D90 #A1701D #1DA12E
square
#1D4EA1 #A11D90 #A1701D #1DA12E
split-complementary
#1D4EA1 #A12E1D #90A11D
monochromatic
#0A1C39 #14356D #1D4EA1 #2667D5 #588BE1

Accessibility & contrast

On white

7.90
#1D4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1D4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4EA1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4EA1#FFFFFF#000000##FFFFFF
##1D4EA11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4ea1;
/* rgb */ color: rgb(29, 78, 161);
/* oklch */ color: oklch(44.1% 0.145 260.4);
Tailwind
colors: {
  custom: {
    50: '#707ebd',
    500: '#1d4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ea1;
$custom-light: #707ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ea1",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 217.727,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.1448,
    "h": 260.4
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#1D4EA1
secondary
#C49B55
accent
#AB3CEC
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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