#1D4D7D#1D4D7D

#1D4D7D is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.3% C 0.096 H 251.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#1D4D7D
RGBrgb(29, 77, 125)
HSLhsl(210, 62%, 30%)
HSVhsv(210, 77%, 49%)
CMYKcmyk(76.8%, 38.4%, 0%, 51%)
CIE-LABlab(31.92, 1.64, -31.82)
CIE-LCHlch(31.92, 31.86, 272.96°)
OKLaboklab(41.3% -0.0307 -0.0906)
OKLCHoklch(41.3% 0.096 251.3)
XYZxyz(6.8609, 7.0489, 20.3970)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D7D #7D4D1D
analogous
#1D7D7D #1D4D7D #1D1D7D
triadic
#1D4D7D #7D1D4D #4D7D1D
tetradic
#1D4D7D #7D1D7D #7D4D1D #1D7D1D
square
#1D4D7D #7D1D7D #7D4D1D #1D7D1D
split-complementary
#1D4D7D #7D1D1D #7D7D1D
monochromatic
#06101A #112E4B #1D4D7D #296CAF #418AD3

Accessibility & contrast

On white

8.71
#1D4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D4D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D7D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D7D#FFFFFF#000000##FFFFFF
##1D4D7D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#28477C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4d7d;
/* rgb */ color: rgb(29, 77, 125);
/* oklch */ color: oklch(41.3% 0.096 251.3);
Tailwind
colors: {
  custom: {
    50: '#677ea3',
    500: '#1d4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d7d;
$custom-light: #677ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d7d",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 210,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.09566,
    "h": 251.3
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#1D4D7D
secondary
#B17B45
accent
#9442E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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