#1D4C9B#1D4C9B

#1D4C9B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.139 H 260.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1D4C9B
RGBrgb(29, 76, 155)
HSLhsl(218, 68%, 36%)
HSVhsv(218, 81%, 61%)
CMYKcmyk(81.3%, 51%, 0%, 39.2%)
CIE-LABlab(33.55, 14.35, -47.58)
CIE-LCHlch(33.55, 49.70, 286.78°)
OKLaboklab(43.19% -0.0236 -0.1369)
OKLCHoklch(43.19% 0.139 260.2)
XYZxyz(9.0054, 7.7956, 32.0341)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C9B #9B6C1D
analogous
#1D8B9B #1D4C9B #2D1D9B
triadic
#1D4C9B #9B1D4C #4C9B1D
tetradic
#1D4C9B #9B1D8B #9B6C1D #1D9B2D
square
#1D4C9B #9B1D8B #9B6C1D #1D9B2D
split-complementary
#1D4C9B #9B2D1D #8B9B1D
monochromatic
#0A1934 #133367 #1D4C9B #2765CF #5387DF

Accessibility & contrast

On white

8.21
#1D4C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1D4C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C9B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C9B#FFFFFF#000000##FFFFFF
##1D4C9B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d4c9b;
/* rgb */ color: rgb(29, 76, 155);
/* oklch */ color: oklch(43.2% 0.139 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7db9',
    500: '#1d4c9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c9b;
$custom-light: #6e7db9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c9b",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 155
  },
  "hsl": {
    "h": 217.619,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.13896,
    "h": 260.2
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#1D4C9B
secondary
#C29852
accent
#AA3CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1D4C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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