#1D4D7F#1D4D7F

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

Color values

HEX#1D4D7F
RGBrgb(29, 77, 127)
HSLhsl(211, 63%, 31%)
HSVhsv(211, 77%, 50%)
CMYKcmyk(77.2%, 39.4%, 0%, 50.2%)
CIE-LABlab(32.03, 2.44, -32.88)
CIE-LCHlch(32.03, 32.97, 274.24°)
OKLaboklab(41.43% -0.0301 -0.0937)
OKLCHoklch(41.43% 0.098 252.2)
XYZxyz(6.9899, 7.1005, 21.0767)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D7F #7F4F1D
analogous
#1D7E7F #1D4D7F #1E1D7F
triadic
#1D4D7F #7F1D4D #4D7F1D
tetradic
#1D4D7F #7F1D7E #7F4F1D #1D7F1E
square
#1D4D7F #7F1D7E #7F4F1D #1D7F1E
split-complementary
#1D4D7F #7F1E1D #7E7F1D
monochromatic
#06111B #122F4D #1D4D7F #286BB1 #428AD4

Accessibility & contrast

On white

8.68
#1D4D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1D4D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D7F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D7F#FFFFFF#000000##FFFFFF
##1D4D7F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365081
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4d7f;
/* rgb */ color: rgb(29, 77, 127);
/* oklch */ color: oklch(41.4% 0.098 252.2);
Tailwind
colors: {
  custom: {
    50: '#687ea4',
    500: '#1d4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d7f;
$custom-light: #687ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d7f",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 210.612,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.09842,
    "h": 252.2
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#1D4D7F
secondary
#B27D45
accent
#9642E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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