#1D517A#1D517A

#1D517A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.088 H 246.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1D517A
RGBrgb(29, 81, 122)
HSLhsl(206, 62%, 30%)
HSVhsv(206, 76%, 48%)
CMYKcmyk(76.2%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.03, -2.14, -28.20)
CIE-LCHlch(33.03, 28.28, 265.66°)
OKLaboklab(42.11% -0.0356 -0.08)
OKLCHoklch(42.11% 0.088 246)
XYZxyz(6.9606, 7.5504, 19.4991)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517A #7A461D
analogous
#1D7A75 #1D517A #1D227A
triadic
#1D517A #7A1D51 #517A1D
tetradic
#1D517A #751D7A #7A461D #227A1D
square
#1D517A #751D7A #7A461D #227A1D
split-complementary
#1D517A #7A1D22 #7A751D
monochromatic
#061019 #113049 #1D517A #2972AB #4091D2

Accessibility & contrast

On white

8.37
#1D517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1D517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D517A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517A#FFFFFF#000000##FFFFFF
##1D517A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#314A79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d517a;
/* rgb */ color: rgb(29, 81, 122);
/* oklch */ color: oklch(42.1% 0.088 246.0);
Tailwind
colors: {
  custom: {
    50: '#6781a0',
    500: '#1d517a',
    950: '#000000',
  },
}
SCSS
$custom: #1d517a;
$custom-light: #6781a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517a",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 206.452,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.08756,
    "h": 246
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#1D517A
secondary
#AE7345
accent
#8A43E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1D517A

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

Preview Lab → · Contrast checker → · Palette generator →

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