#1D4C8D#1D4C8D

#1D4C8D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.119 H 257.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1D4C8D
RGBrgb(29, 76, 141)
HSLhsl(215, 66%, 33%)
HSVhsv(215, 79%, 55%)
CMYKcmyk(79.4%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.60, 8.71, -40.61)
CIE-LCHlch(32.60, 41.53, 282.11°)
OKLaboklab(42.14% -0.0259 -0.1164)
OKLCHoklch(42.14% 0.119 257.4)
XYZxyz(7.8971, 7.3523, 26.1971)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C8D #8D5E1D
analogous
#1D848D #1D4C8D #261D8D
triadic
#1D4C8D #8D1D4C #4C8D1D
tetradic
#1D4C8D #8D1D84 #8D5E1D #1D8D26
square
#1D4C8D #8D1D84 #8D5E1D #1D8D26
split-complementary
#1D4C8D #8D261D #848D1D
monochromatic
#081527 #13315A #1D4C8D #2767C0 #4B87DA

Accessibility & contrast

On white

8.50
#1D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1D4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C8D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C8D#FFFFFF#000000##FFFFFF
##1D4C8D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4c8d;
/* rgb */ color: rgb(29, 76, 141);
/* oklch */ color: oklch(42.1% 0.119 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7daf',
    500: '#1d4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c8d;
$custom-light: #6b7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c8d",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 214.821,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.11928,
    "h": 257.4
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#1D4C8D
secondary
#BC8C4A
accent
#A23FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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