#1D4E9A#1D4E9A

#1D4E9A is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.135 H 259.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1D4E9A
RGBrgb(29, 78, 154)
HSLhsl(216, 68%, 36%)
HSVhsv(216, 81%, 60%)
CMYKcmyk(81.2%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.07, 12.60, -46.14)
CIE-LCHlch(34.07, 47.83, 285.27°)
OKLaboklab(43.56% -0.0253 -0.1327)
OKLCHoklch(43.56% 0.135 259.2)
XYZxyz(9.0617, 8.0420, 31.6403)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E9A #9A691D
analogous
#1D8C9A #1D4E9A #2A1D9A
triadic
#1D4E9A #9A1D4E #4E9A1D
tetradic
#1D4E9A #9A1D8C #9A691D #1D9A2A
square
#1D4E9A #9A1D8C #9A691D #1D9A2A
split-complementary
#1D4E9A #9A2A1D #8C9A1D
monochromatic
#0A1A33 #133466 #1D4E9A #2768CE #538ADF

Accessibility & contrast

On white

8.05
#1D4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1D4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E9A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E9A#FFFFFF#000000##FFFFFF
##1D4E9A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4e9a;
/* rgb */ color: rgb(29, 78, 154);
/* oklch */ color: oklch(43.6% 0.135 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7eb8',
    500: '#1d4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e9a;
$custom-light: #6e7eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e9a",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 216.48,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.13507,
    "h": 259.2
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#1D4E9A
secondary
#C29651
accent
#A73DEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1D4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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