#1D517F#1D517F

#1D517F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.094 H 248.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#1D517F
RGBrgb(29, 81, 127)
HSLhsl(208, 63%, 31%)
HSVhsv(208, 77%, 50%)
CMYKcmyk(77.2%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.30, -0.18, -30.87)
CIE-LCHlch(33.30, 30.87, 269.66°)
OKLaboklab(42.42% -0.0341 -0.0877)
OKLCHoklch(42.42% 0.094 248.8)
XYZxyz(7.2784, 7.6775, 21.1729)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517F #7F4B1D
analogous
#1D7F7C #1D517F #1D207F
triadic
#1D517F #7F1D51 #517F1D
tetradic
#1D517F #7C1D7F #7F4B1D #207F1D
square
#1D517F #7C1D7F #7F4B1D #207F1D
split-complementary
#1D517F #7F1D20 #7F7C1D
monochromatic
#06111B #12314D #1D517F #2871B1 #4290D4

Accessibility & contrast

On white

8.28
#1D517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1D517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D517F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517F#FFFFFF#000000##FFFFFF
##1D517F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d517f;
/* rgb */ color: rgb(29, 81, 127);
/* oklch */ color: oklch(42.4% 0.094 248.8);
Tailwind
colors: {
  custom: {
    50: '#6881a4',
    500: '#1d517f',
    950: '#000000',
  },
}
SCSS
$custom: #1d517f;
$custom-light: #6881a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517f",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 208.163,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.09415,
    "h": 248.8
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#1D517F
secondary
#B27945
accent
#8F42E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D517F

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

Preview Lab → · Contrast checker → · Palette generator →

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