#1D4F71#1D4F71

#1D4F71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.078 H 242.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1D4F71
RGBrgb(29, 79, 113)
HSLhsl(204, 59%, 28%)
HSVhsv(204, 74%, 44%)
CMYKcmyk(74.3%, 30.1%, 0%, 55.7%)
CIE-LABlab(31.91, -4.34, -24.35)
CIE-LCHlch(31.91, 24.73, 259.89°)
OKLaboklab(41.08% -0.0365 -0.0688)
OKLCHoklch(41.08% 0.078 242)
XYZxyz(6.2822, 7.0447, 16.6483)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F71 #713F1D
analogous
#1D7169 #1D4F71 #1D2571
triadic
#1D4F71 #711D4F #4F711D
tetradic
#1D4F71 #691D71 #713F1D #25711D
square
#1D4F71 #691D71 #713F1D #25711D
split-complementary
#1D4F71 #711D25 #71691D
monochromatic
#061118 #112D40 #1D4F71 #2971A2 #3C92CD

Accessibility & contrast

On white

8.72
#1D4F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4F71
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F71#FFFFFF#000000##FFFFFF
##1D4F711.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5073
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4f71;
/* rgb */ color: rgb(29, 79, 113);
/* oklch */ color: oklch(41.1% 0.078 242.0);
Tailwind
colors: {
  custom: {
    50: '#65809a',
    500: '#1d4f71',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f71;
$custom-light: #65809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f71",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 204.286,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.07787,
    "h": 242
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#1D4F71
secondary
#A56C44
accent
#8545E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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