#1D5178#1D5178

#1D5178 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.085 H 244.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#1D5178
RGBrgb(29, 81, 120)
HSLhsl(206, 61%, 29%)
HSVhsv(206, 76%, 47%)
CMYKcmyk(75.8%, 32.5%, 0%, 52.9%)
CIE-LABlab(32.92, -2.92, -27.13)
CIE-LCHlch(32.92, 27.28, 263.86°)
OKLaboklab(42% -0.0363 -0.0768)
OKLCHoklch(42% 0.085 244.7)
XYZxyz(6.8380, 7.5014, 18.8532)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5178 #78441D
analogous
#1D7872 #1D5178 #1D2478
triadic
#1D5178 #781D51 #51781D
tetradic
#1D5178 #721D78 #78441D #24781D
square
#1D5178 #721D78 #78441D #24781D
split-complementary
#1D5178 #781D24 #78721D
monochromatic
#061119 #113047 #1D5178 #2972A9 #3F92D1

Accessibility & contrast

On white

8.40
#1D5178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1D5178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5178
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5178#FFFFFF#000000##FFFFFF
##1D51781.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d5178;
/* rgb */ color: rgb(29, 81, 120);
/* oklch */ color: oklch(42.0% 0.085 244.7);
Tailwind
colors: {
  custom: {
    50: '#66819f',
    500: '#1d5178',
    950: '#000000',
  },
}
SCSS
$custom: #1d5178;
$custom-light: #66819f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5178",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 205.714,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.08497,
    "h": 244.7
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#1D5178
secondary
#AC7145
accent
#8844E4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1D5178

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

Preview Lab → · Contrast checker → · Palette generator →

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