#1D518E#1D518E

#1D518E is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.115 H 254.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1D518E
RGBrgb(29, 81, 142)
HSLhsl(212, 66%, 34%)
HSVhsv(212, 80%, 56%)
CMYKcmyk(79.6%, 43%, 0%, 44.3%)
CIE-LABlab(34.19, 5.77, -38.67)
CIE-LCHlch(34.19, 39.10, 278.49°)
OKLaboklab(43.4% -0.0302 -0.1106)
OKLCHoklch(43.4% 0.115 254.7)
XYZxyz(8.3298, 8.0981, 26.7100)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D518E #8E5A1D
analogous
#1D898E #1D518E #211D8E
triadic
#1D518E #8E1D51 #518E1D
tetradic
#1D518E #8E1D89 #8E5A1D #1D8E21
square
#1D518E #8E1D89 #8E5A1D #1D8E21
split-complementary
#1D518E #8E211D #898E1D
monochromatic
#081728 #13345B #1D518E #276EC1 #4B8DDA

Accessibility & contrast

On white

8.02
#1D518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1D518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D518E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D518E#FFFFFF#000000##FFFFFF
##1D518E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d518e;
/* rgb */ color: rgb(29, 81, 142);
/* oklch */ color: oklch(43.4% 0.115 254.7);
Tailwind
colors: {
  custom: {
    50: '#6b81af',
    500: '#1d518e',
    950: '#000000',
  },
}
SCSS
$custom: #1d518e;
$custom-light: #6b81af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d518e",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 212.389,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.11468,
    "h": 254.7
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#1D518E
secondary
#BD884A
accent
#9B3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D518E

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

Preview Lab → · Contrast checker → · Palette generator →

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