#1D5879#1D5879

#1D5879 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.081 H 237.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1D5879
RGBrgb(29, 88, 121)
HSLhsl(202, 61%, 29%)
HSVhsv(202, 76%, 47%)
CMYKcmyk(76%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.24, -6.93, -24.11)
CIE-LCHlch(35.24, 25.08, 253.97°)
OKLaboklab(43.85% -0.0434 -0.068)
OKLCHoklch(43.85% 0.081 237.5)
XYZxyz(7.4462, 8.6203, 19.3569)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5879 #793E1D
analogous
#1D796C #1D5879 #1D2A79
triadic
#1D5879 #791D58 #58791D
tetradic
#1D5879 #6C1D79 #793E1D #2A791D
square
#1D5879 #6C1D79 #793E1D #2A791D
split-complementary
#1D5879 #791D2A #796C1D
monochromatic
#061219 #113448 #1D5879 #297CAA #3F9DD1

Accessibility & contrast

On white

7.71
#1D5879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1D5879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5879
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5879#FFFFFF#000000##FFFFFF
##1D58791.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d5879;
/* rgb */ color: rgb(29, 88, 121);
/* oklch */ color: oklch(43.9% 0.081 237.5);
Tailwind
colors: {
  custom: {
    50: '#6787a0',
    500: '#1d5879',
    950: '#000000',
  },
}
SCSS
$custom: #1d5879;
$custom-light: #6787a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5879",
  "rgb": {
    "r": 29,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 201.522,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.08064,
    "h": 237.5
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#1D5879
secondary
#AD6A45
accent
#7D43E4
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1D5879

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

Preview Lab → · Contrast checker → · Palette generator →

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