#1D4EA0#1D4EA0

#1D4EA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.143 H 260.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1D4EA0
RGBrgb(29, 78, 160)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 82%, 63%)
CMYKcmyk(81.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(34.49, 15.00, -49.08)
CIE-LCHlch(34.49, 51.32, 287.00°)
OKLaboklab(44.02% -0.0244 -0.1413)
OKLCHoklch(44.02% 0.143 260.2)
XYZxyz(9.5739, 8.2469, 34.3381)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4EA0 #A06F1D
analogous
#1D90A0 #1D4EA0 #2D1DA0
triadic
#1D4EA0 #A01D4E #4EA01D
tetradic
#1D4EA0 #A01D90 #A06F1D #1DA02D
square
#1D4EA0 #A01D90 #A06F1D #1DA02D
split-complementary
#1D4EA0 #A02D1D #90A01D
monochromatic
#0A1B38 #14356C #1D4EA0 #2667D4 #578AE1

Accessibility & contrast

On white

7.93
#1D4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1D4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4EA0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4EA0#FFFFFF#000000##FFFFFF
##1D4EA01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A57A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1d4ea0;
/* rgb */ color: rgb(29, 78, 160);
/* oklch */ color: oklch(44.0% 0.143 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ebd',
    500: '#1d4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ea0;
$custom-light: #6f7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ea0",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 217.557,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.14341,
    "h": 260.2
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#1D4EA0
secondary
#C49A55
accent
#AA3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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