#1D4173#1D4173

#1D4173 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.095 H 257.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#1D4173
RGBrgb(29, 65, 115)
HSLhsl(215, 60%, 28%)
HSVhsv(215, 75%, 45%)
CMYKcmyk(74.8%, 43.5%, 0%, 54.9%)
CIE-LABlab(27.52, 5.72, -32.55)
CIE-LCHlch(27.52, 33.05, 279.96°)
OKLaboklab(37.67% -0.0211 -0.093)
OKLCHoklch(37.67% 0.095 257.2)
XYZxyz(5.4904, 5.2790, 16.9459)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4173 #734F1D
analogous
#1D6C73 #1D4173 #241D73
triadic
#1D4173 #731D41 #41731D
tetradic
#1D4173 #731D6C #734F1D #1D7324
square
#1D4173 #731D6C #734F1D #1D7324
split-complementary
#1D4173 #73241D #6C731D
monochromatic
#060E18 #112542 #1D4173 #295DA4 #3C79CE

Accessibility & contrast

On white

10.21
#1D4173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1D4173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4173
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4173#FFFFFF#000000##FFFFFF
##1D41731.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#1B3D72
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1d4173;
/* rgb */ color: rgb(29, 65, 115);
/* oklch */ color: oklch(37.7% 0.095 257.2);
Tailwind
colors: {
  custom: {
    50: '#65759b',
    500: '#1d4173',
    950: '#000000',
  },
}
SCSS
$custom: #1d4173;
$custom-light: #65759b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4173",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 214.884,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.09534,
    "h": 257.2
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#1D4173
secondary
#A77E45
accent
#A145E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1D4173

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

Preview Lab → · Contrast checker → · Palette generator →

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