#1D4C8F#1D4C8F

#1D4C8F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.3% C 0.122 H 257.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1D4C8F
RGBrgb(29, 76, 143)
HSLhsl(215, 66%, 34%)
HSVhsv(215, 80%, 56%)
CMYKcmyk(79.7%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.73, 9.52, -41.62)
CIE-LCHlch(32.73, 42.69, 282.88°)
OKLaboklab(42.29% -0.0255 -0.1194)
OKLCHoklch(42.29% 0.122 257.9)
XYZxyz(8.0472, 7.4123, 26.9879)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C8F #8F601D
analogous
#1D858F #1D4C8F #271D8F
triadic
#1D4C8F #8F1D4C #4C8F1D
tetradic
#1D4C8F #8F1D85 #8F601D #1D8F27
square
#1D4C8F #8F1D85 #8F601D #1D8F27
split-complementary
#1D4C8F #8F271D #858F1D
monochromatic
#081629 #13315C #1D4C8F #2767C2 #4C87DB

Accessibility & contrast

On white

8.46
#1D4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1D4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C8F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C8F#FFFFFF#000000##FFFFFF
##1D4C8F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4c8f;
/* rgb */ color: rgb(29, 76, 143);
/* oklch */ color: oklch(42.3% 0.122 257.9);
Tailwind
colors: {
  custom: {
    50: '#6b7db0',
    500: '#1d4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c8f;
$custom-light: #6b7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c8f",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 215.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42288,
    "c": 0.1221,
    "h": 257.9
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#1D4C8F
secondary
#BD8E4B
accent
#A33FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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