#1D4D72#1D4D72

#1D4D72 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.6% C 0.081 H 245.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1D4D72
RGBrgb(29, 77, 114)
HSLhsl(206, 59%, 28%)
HSVhsv(206, 75%, 45%)
CMYKcmyk(74.6%, 32.5%, 0%, 55.3%)
CIE-LABlab(31.31, -2.68, -25.91)
CIE-LCHlch(31.31, 26.05, 264.10°)
OKLaboklab(40.62% -0.034 -0.0734)
OKLCHoklch(40.62% 0.081 245.1)
XYZxyz(6.1967, 6.7832, 16.8990)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D72 #72421D
analogous
#1D726C #1D4D72 #1D2272
triadic
#1D4D72 #721D4D #4D721D
tetradic
#1D4D72 #6C1D72 #72421D #22721D
square
#1D4D72 #6C1D72 #72421D #22721D
split-complementary
#1D4D72 #721D22 #726C1D
monochromatic
#061018 #112C41 #1D4D72 #296EA3 #3C8ECD

Accessibility & contrast

On white

8.91
#1D4D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1D4D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4D72
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4D72#FFFFFF#000000##FFFFFF
##1D4D721.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#304671
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4d72;
/* rgb */ color: rgb(29, 77, 114);
/* oklch */ color: oklch(40.6% 0.081 245.1);
Tailwind
colors: {
  custom: {
    50: '#657e9a',
    500: '#1d4d72',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d72;
$custom-light: #657e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d72",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 114
  },
  "hsl": {
    "h": 206.118,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40618,
    "c": 0.08086,
    "h": 245.1
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#1D4D72
secondary
#A66F45
accent
#8A45E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D4D72

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

Preview Lab → · Contrast checker → · Palette generator →

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