#1D517E#1D517E

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

Color values

HEX#1D517E
RGBrgb(29, 81, 126)
HSLhsl(208, 63%, 30%)
HSVhsv(208, 77%, 49%)
CMYKcmyk(77%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.25, -0.58, -30.34)
CIE-LCHlch(33.25, 30.34, 268.91°)
OKLaboklab(42.36% -0.0344 -0.0862)
OKLCHoklch(42.36% 0.093 248.2)
XYZxyz(7.2136, 7.6516, 20.8313)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517E #7E4A1D
analogous
#1D7E7A #1D517E #1D207E
triadic
#1D517E #7E1D51 #517E1D
tetradic
#1D517E #7A1D7E #7E4A1D #207E1D
square
#1D517E #7A1D7E #7E4A1D #207E1D
split-complementary
#1D517E #7E1D20 #7E7A1D
monochromatic
#06111B #12314C #1D517E #2871B0 #4290D3

Accessibility & contrast

On white

8.30
#1D517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D517E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517E#FFFFFF#000000##FFFFFF
##1D517E1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d517e;
/* rgb */ color: rgb(29, 81, 126);
/* oklch */ color: oklch(42.4% 0.093 248.2);
Tailwind
colors: {
  custom: {
    50: '#6881a3',
    500: '#1d517e',
    950: '#000000',
  },
}
SCSS
$custom: #1d517e;
$custom-light: #6881a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517e",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 207.835,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.09281,
    "h": 248.2
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#1D517E
secondary
#B17745
accent
#8E42E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D517E

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

Preview Lab → · Contrast checker → · Palette generator →

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