#1D4C7D#1D4C7D

#1D4C7D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.097 H 252.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#1D4C7D
RGBrgb(29, 76, 125)
HSLhsl(211, 62%, 30%)
HSVhsv(211, 77%, 49%)
CMYKcmyk(76.8%, 39.2%, 0%, 51%)
CIE-LABlab(31.60, 2.30, -32.32)
CIE-LCHlch(31.60, 32.40, 274.08°)
OKLaboklab(41.05% -0.0297 -0.0921)
OKLCHoklch(41.05% 0.097 252.1)
XYZxyz(6.7914, 6.9100, 20.3739)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C7D #7D4E1D
analogous
#1D7C7D #1D4C7D #1E1D7D
triadic
#1D4C7D #7D1D4C #4C7D1D
tetradic
#1D4C7D #7D1D7C #7D4E1D #1D7D1E
square
#1D4C7D #7D1D7C #7D4E1D #1D7D1E
split-complementary
#1D4C7D #7D1E1D #7C7D1D
monochromatic
#06101A #112E4B #1D4C7D #296AAF #4189D3

Accessibility & contrast

On white

8.82
#1D4C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1D4C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C7D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C7D#FFFFFF#000000##FFFFFF
##1D4C7D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4c7d;
/* rgb */ color: rgb(29, 76, 125);
/* oklch */ color: oklch(41.0% 0.097 252.1);
Tailwind
colors: {
  custom: {
    50: '#677da3',
    500: '#1d4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c7d;
$custom-light: #677da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c7d",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 210.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.09676,
    "h": 252.1
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#1D4C7D
secondary
#B17C45
accent
#9642E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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