#1D518D#1D518D

#1D518D is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.113 H 254.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#1D518D
RGBrgb(29, 81, 141)
HSLhsl(212, 66%, 33%)
HSVhsv(212, 79%, 55%)
CMYKcmyk(79.4%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.12, 5.37, -38.16)
CIE-LCHlch(34.12, 38.54, 278.02°)
OKLaboklab(43.33% -0.0304 -0.1091)
OKLCHoklch(43.33% 0.113 254.4)
XYZxyz(8.2551, 8.0682, 26.3164)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D518D #8D591D
analogous
#1D898D #1D518D #211D8D
triadic
#1D518D #8D1D51 #518D1D
tetradic
#1D518D #8D1D89 #8D591D #1D8D21
square
#1D518D #8D1D89 #8D591D #1D8D21
split-complementary
#1D518D #8D211D #898D1D
monochromatic
#081727 #13345A #1D518D #276EC0 #4B8DDA

Accessibility & contrast

On white

8.03
#1D518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1D518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D518D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D518D#FFFFFF#000000##FFFFFF
##1D518D1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d518d;
/* rgb */ color: rgb(29, 81, 141);
/* oklch */ color: oklch(43.3% 0.113 254.4);
Tailwind
colors: {
  custom: {
    50: '#6b81af',
    500: '#1d518d',
    950: '#000000',
  },
}
SCSS
$custom: #1d518d;
$custom-light: #6b81af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d518d",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 212.143,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.11329,
    "h": 254.4
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#1D518D
secondary
#BC874A
accent
#9A3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D518D

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

Preview Lab → · Contrast checker → · Palette generator →

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