#1D517D#1D517D

#1D517D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.091 H 247.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1D517D
RGBrgb(29, 81, 125)
HSLhsl(208, 62%, 30%)
HSVhsv(208, 77%, 49%)
CMYKcmyk(76.8%, 35.2%, 0%, 51%)
CIE-LABlab(33.19, -0.97, -29.80)
CIE-LCHlch(33.19, 29.82, 268.14°)
OKLaboklab(42.3% -0.0347 -0.0846)
OKLCHoklch(42.3% 0.091 247.7)
XYZxyz(7.1494, 7.6259, 20.4932)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517D #7D491D
analogous
#1D7D79 #1D517D #1D217D
triadic
#1D517D #7D1D51 #517D1D
tetradic
#1D517D #791D7D #7D491D #217D1D
square
#1D517D #791D7D #7D491D #217D1D
split-complementary
#1D517D #7D1D21 #7D791D
monochromatic
#06111A #11314B #1D517D #2971AF #4190D3

Accessibility & contrast

On white

8.32
#1D517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D517D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517D#FFFFFF#000000##FFFFFF
##1D517D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d517d;
/* rgb */ color: rgb(29, 81, 125);
/* oklch */ color: oklch(42.3% 0.091 247.7);
Tailwind
colors: {
  custom: {
    50: '#6781a3',
    500: '#1d517d',
    950: '#000000',
  },
}
SCSS
$custom: #1d517d;
$custom-light: #6781a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517d",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 207.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.09149,
    "h": 247.7
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#1D517D
secondary
#B17645
accent
#8D42E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D517D

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

Preview Lab → · Contrast checker → · Palette generator →

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