#1D4D7E#1D4D7E

#1D4D7E is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.097 H 251.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1D4D7E
RGBrgb(29, 77, 126)
HSLhsl(210, 63%, 30%)
HSVhsv(210, 77%, 49%)
CMYKcmyk(77%, 38.9%, 0%, 50.6%)
CIE-LABlab(31.98, 2.04, -32.35)
CIE-LCHlch(31.98, 32.41, 273.61°)
OKLaboklab(41.36% -0.0304 -0.0922)
OKLCHoklch(41.36% 0.097 251.7)
XYZxyz(6.9251, 7.0745, 20.7352)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D7E #7E4E1D
analogous
#1D7E7E #1D4D7E #1D1D7E
triadic
#1D4D7E #7E1D4D #4D7E1D
tetradic
#1D4D7E #7E1D7E #7E4E1D #1D7E1D
square
#1D4D7E #7E1D7E #7E4E1D #1D7E1D
split-complementary
#1D4D7E #7E1D1D #7E7E1D
monochromatic
#06101B #122F4C #1D4D7E #286BB0 #428AD3

Accessibility & contrast

On white

8.70
#1D4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4D7E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D7E#FFFFFF#000000##FFFFFF
##1D4D7E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4d7e;
/* rgb */ color: rgb(29, 77, 126);
/* oklch */ color: oklch(41.4% 0.097 251.7);
Tailwind
colors: {
  custom: {
    50: '#677ea3',
    500: '#1d4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d7e;
$custom-light: #677ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d7e",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 210.309,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41361,
    "c": 0.09704,
    "h": 251.7
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#1D4D7E
secondary
#B17C45
accent
#9542E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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