#1D4872#1D4872

#1D4872 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.3% C 0.086 H 250.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#1D4872
RGBrgb(29, 72, 114)
HSLhsl(210, 59%, 28%)
HSVhsv(210, 75%, 45%)
CMYKcmyk(74.6%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.69, 0.59, -28.47)
CIE-LCHlch(29.69, 28.47, 271.19°)
OKLaboklab(39.34% -0.0287 -0.0809)
OKLCHoklch(39.34% 0.086 250.5)
XYZxyz(5.8602, 6.1102, 16.7869)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4872 #72471D
analogous
#1D7271 #1D4872 #1D1D72
triadic
#1D4872 #721D48 #48721D
tetradic
#1D4872 #711D72 #72471D #1D721D
square
#1D4872 #711D72 #72471D #1D721D
split-complementary
#1D4872 #721D1D #72711D
monochromatic
#060F18 #112941 #1D4872 #2967A3 #3C86CD

Accessibility & contrast

On white

9.45
#1D4872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D4872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4872
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4872#FFFFFF#000000##FFFFFF
##1D48721.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d4872;
/* rgb */ color: rgb(29, 72, 114);
/* oklch */ color: oklch(39.3% 0.086 250.5);
Tailwind
colors: {
  custom: {
    50: '#657a9b',
    500: '#1d4872',
    950: '#000000',
  },
}
SCSS
$custom: #1d4872;
$custom-light: #657a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4872",
  "rgb": {
    "r": 29,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 209.647,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.08581,
    "h": 250.5
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#1D4872
secondary
#A67545
accent
#9345E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1D4872

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

Preview Lab → · Contrast checker → · Palette generator →

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