#1D4D9B#1D4D9B

#1D4D9B is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.138 H 259.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1D4D9B
RGBrgb(29, 77, 155)
HSLhsl(217, 68%, 36%)
HSVhsv(217, 81%, 61%)
CMYKcmyk(81.3%, 50.3%, 0%, 39.2%)
CIE-LABlab(33.85, 13.67, -47.11)
CIE-LCHlch(33.85, 49.05, 286.19°)
OKLaboklab(43.41% -0.0243 -0.1355)
OKLCHoklch(43.41% 0.138 259.8)
XYZxyz(9.0748, 7.9344, 32.0572)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D9B #9B6B1D
analogous
#1D8C9B #1D4D9B #2C1D9B
triadic
#1D4D9B #9B1D4D #4D9B1D
tetradic
#1D4D9B #9B1D8C #9B6B1D #1D9B2C
square
#1D4D9B #9B1D8C #9B6B1D #1D9B2C
split-complementary
#1D4D9B #9B2C1D #8C9B1D
monochromatic
#0A1A34 #133367 #1D4D9B #2767CF #5389DF

Accessibility & contrast

On white

8.12
#1D4D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1D4D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D9B
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D9B#FFFFFF#000000##FFFFFF
##1D4D9B1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4d9b;
/* rgb */ color: rgb(29, 77, 155);
/* oklch */ color: oklch(43.4% 0.138 259.8);
Tailwind
colors: {
  custom: {
    50: '#6e7eb9',
    500: '#1d4d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d9b;
$custom-light: #6e7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d9b",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 155
  },
  "hsl": {
    "h": 217.143,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.13771,
    "h": 259.8
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#1D4D9B
secondary
#C29752
accent
#A93CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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