#1D517C#1D517C

#1D517C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.090 H 247.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1D517C
RGBrgb(29, 81, 124)
HSLhsl(207, 62%, 30%)
HSVhsv(207, 77%, 49%)
CMYKcmyk(76.6%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.14, -1.36, -29.27)
CIE-LCHlch(33.14, 29.30, 267.34°)
OKLaboklab(42.24% -0.035 -0.0831)
OKLCHoklch(42.24% 0.09 247.1)
XYZxyz(7.0858, 7.6005, 20.1585)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517C #7C481D
analogous
#1D7C78 #1D517C #1D217C
triadic
#1D517C #7C1D51 #517C1D
tetradic
#1D517C #781D7C #7C481D #217C1D
square
#1D517C #781D7C #7C481D #217C1D
split-complementary
#1D517C #7C1D21 #7C781D
monochromatic
#061019 #11314A #1D517C #2971AE #4191D3

Accessibility & contrast

On white

8.33
#1D517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1D517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D517C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517C#FFFFFF#000000##FFFFFF
##1D517C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d517c;
/* rgb */ color: rgb(29, 81, 124);
/* oklch */ color: oklch(42.2% 0.090 247.1);
Tailwind
colors: {
  custom: {
    50: '#6781a2',
    500: '#1d517c',
    950: '#000000',
  },
}
SCSS
$custom: #1d517c;
$custom-light: #6781a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517c",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 207.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.42235,
    "c": 0.09017,
    "h": 247.1
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#1D517C
secondary
#B07545
accent
#8C43E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D517C

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

Preview Lab → · Contrast checker → · Palette generator →

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