#1D508C#1D508C

#1D508C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.113 H 254.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1D508C
RGBrgb(29, 80, 140)
HSLhsl(212, 66%, 33%)
HSVhsv(212, 79%, 55%)
CMYKcmyk(79.3%, 42.9%, 0%, 45.1%)
CIE-LABlab(33.75, 5.64, -38.14)
CIE-LCHlch(33.75, 38.55, 278.41°)
OKLaboklab(43.02% -0.0297 -0.1091)
OKLCHoklch(43.02% 0.113 254.8)
XYZxyz(8.1072, 7.8910, 25.9017)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D508C #8C591D
analogous
#1D878C #1D508C #211D8C
triadic
#1D508C #8C1D50 #508C1D
tetradic
#1D508C #8C1D87 #8C591D #1D8C21
square
#1D508C #8C1D87 #8C591D #1D8C21
split-complementary
#1D508C #8C211D #878C1D
monochromatic
#081627 #123359 #1D508C #286DBF #4A8CD9

Accessibility & contrast

On white

8.14
#1D508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1D508C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D508C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D508C#FFFFFF#000000##FFFFFF
##1D508C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d508c;
/* rgb */ color: rgb(29, 80, 140);
/* oklch */ color: oklch(43.0% 0.113 254.8);
Tailwind
colors: {
  custom: {
    50: '#6b80ae',
    500: '#1d508c',
    950: '#000000',
  },
}
SCSS
$custom: #1d508c;
$custom-light: #6b80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d508c",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 212.432,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.11307,
    "h": 254.8
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D508C

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

Preview Lab → · Contrast checker → · Palette generator →

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