#1D5174#1D5174

#1D5174 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.080 H 241.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#1D5174
RGBrgb(29, 81, 116)
HSLhsl(204, 60%, 28%)
HSVhsv(204, 75%, 45%)
CMYKcmyk(75%, 30.2%, 0%, 54.5%)
CIE-LABlab(32.71, -4.46, -24.96)
CIE-LCHlch(32.71, 25.35, 259.87°)
OKLaboklab(41.76% -0.0377 -0.0705)
OKLCHoklch(41.76% 0.08 241.9)
XYZxyz(6.6003, 7.4063, 17.6013)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5174 #74401D
analogous
#1D746B #1D5174 #1D2574
triadic
#1D5174 #741D51 #51741D
tetradic
#1D5174 #6B1D74 #74401D #25741D
square
#1D5174 #6B1D74 #74401D #25741D
split-complementary
#1D5174 #741D25 #746B1D
monochromatic
#061118 #112F43 #1D5174 #2973A5 #3D94CE

Accessibility & contrast

On white

8.46
#1D5174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1D5174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5174
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5174#FFFFFF#000000##FFFFFF
##1D51741.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d5174;
/* rgb */ color: rgb(29, 81, 116);
/* oklch */ color: oklch(41.8% 0.080 241.9);
Tailwind
colors: {
  custom: {
    50: '#65819c',
    500: '#1d5174',
    950: '#000000',
  },
}
SCSS
$custom: #1d5174;
$custom-light: #65819c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5174",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 204.138,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.07995,
    "h": 241.9
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#1D5174
secondary
#A86D45
accent
#8445E3
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D5174

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

Preview Lab → · Contrast checker → · Palette generator →

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