#1D4D9E#1D4D9E

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

Color values

HEX#1D4D9E
RGBrgb(29, 77, 158)
HSLhsl(218, 69%, 37%)
HSVhsv(218, 82%, 62%)
CMYKcmyk(81.6%, 51.3%, 0%, 38%)
CIE-LABlab(34.06, 14.88, -48.58)
CIE-LCHlch(34.06, 50.80, 287.03°)
OKLaboklab(43.64% -0.0239 -0.1399)
OKLCHoklch(43.64% 0.142 260.3)
XYZxyz(9.3299, 8.0365, 33.4006)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D9E #9E6E1D
analogous
#1D8E9E #1D4D9E #2D1D9E
triadic
#1D4D9E #9E1D4D #4D9E1D
tetradic
#1D4D9E #9E1D8E #9E6E1D #1D9E2D
square
#1D4D9E #9E1D8E #9E6E1D #1D9E2D
split-complementary
#1D4D9E #9E2D1D #8E9E1D
monochromatic
#0A1B37 #14346A #1D4D9E #2666D2 #5689E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D4D9E#FFFFFF#000000##FFFFFF
##1D4D9E1.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)
#1956A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4d9e;
/* rgb */ color: rgb(29, 77, 158);
/* oklch */ color: oklch(43.6% 0.142 260.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ebb',
    500: '#1d4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d9e;
$custom-light: #6f7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d9e",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 217.674,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.14189,
    "h": 260.3
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#1D4D9E
secondary
#C39A54
accent
#AA3CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1D4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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