#1D517B#1D517B

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

Color values

HEX#1D517B
RGBrgb(29, 81, 123)
HSLhsl(207, 62%, 30%)
HSVhsv(207, 76%, 48%)
CMYKcmyk(76.4%, 34.1%, 0%, 51.8%)
CIE-LABlab(33.08, -1.75, -28.74)
CIE-LCHlch(33.08, 28.79, 266.52°)
OKLaboklab(42.17% -0.0353 -0.0815)
OKLCHoklch(42.17% 0.089 246.6)
XYZxyz(7.0229, 7.5753, 19.8271)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D517B #7B471D
analogous
#1D7B76 #1D517B #1D227B
triadic
#1D517B #7B1D51 #517B1D
tetradic
#1D517B #761D7B #7B471D #227B1D
square
#1D517B #761D7B #7B471D #227B1D
split-complementary
#1D517B #7B1D22 #7B761D
monochromatic
#061019 #113049 #1D517B #2972AD #4091D2

Accessibility & contrast

On white

8.35
#1D517B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D517B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D517B#FFFFFF#000000##FFFFFF
##1D517B1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d517b;
/* rgb */ color: rgb(29, 81, 123);
/* oklch */ color: oklch(42.2% 0.089 246.6);
Tailwind
colors: {
  custom: {
    50: '#6781a1',
    500: '#1d517b',
    950: '#000000',
  },
}
SCSS
$custom: #1d517b;
$custom-light: #6781a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d517b",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 206.809,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.08886,
    "h": 246.6
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#1D517B
secondary
#AF7445
accent
#8B43E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1D517B

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

Preview Lab → · Contrast checker → · Palette generator →

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