#1D4C71#1D4C71

#1D4C71 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.3% C 0.080 H 245.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1D4C71
RGBrgb(29, 76, 113)
HSLhsl(206, 59%, 28%)
HSVhsv(206, 74%, 44%)
CMYKcmyk(74.3%, 32.7%, 0%, 55.7%)
CIE-LABlab(30.93, -2.42, -25.88)
CIE-LCHlch(30.93, 25.99, 264.66°)
OKLaboklab(40.3% -0.0333 -0.0733)
OKLCHoklch(40.3% 0.08 245.6)
XYZxyz(6.0706, 6.6217, 16.5778)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4C71 #71421D
analogous
#1D716C #1D4C71 #1D2271
triadic
#1D4C71 #711D4C #4C711D
tetradic
#1D4C71 #6C1D71 #71421D #22711D
square
#1D4C71 #6C1D71 #71421D #22711D
split-complementary
#1D4C71 #711D22 #716C1D
monochromatic
#061018 #112B40 #1D4C71 #296DA2 #3C8DCD

Accessibility & contrast

On white

9.03
#1D4C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1D4C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4C71
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4C71#FFFFFF#000000##FFFFFF
##1D4C711.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#005559
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4c71;
/* rgb */ color: rgb(29, 76, 113);
/* oklch */ color: oklch(40.3% 0.080 245.6);
Tailwind
colors: {
  custom: {
    50: '#657d9a',
    500: '#1d4c71',
    950: '#000000',
  },
}
SCSS
$custom: #1d4c71;
$custom-light: #657d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4c71",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 206.429,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.08048,
    "h": 245.6
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#1D4C71
secondary
#A56F44
accent
#8B45E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1D4C71

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

Preview Lab → · Contrast checker → · Palette generator →

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