#1D508D#1D508D

#1D508D is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.114 H 255.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#1D508D
RGBrgb(29, 80, 141)
HSLhsl(213, 66%, 33%)
HSVhsv(213, 79%, 55%)
CMYKcmyk(79.4%, 43.3%, 0%, 44.7%)
CIE-LABlab(33.82, 6.04, -38.65)
CIE-LCHlch(33.82, 39.12, 278.88°)
OKLaboklab(43.09% -0.0295 -0.1106)
OKLCHoklch(43.09% 0.114 255.1)
XYZxyz(8.1813, 7.9207, 26.2918)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D508D #8D5A1D
analogous
#1D888D #1D508D #221D8D
triadic
#1D508D #8D1D50 #508D1D
tetradic
#1D508D #8D1D88 #8D5A1D #1D8D22
square
#1D508D #8D1D88 #8D5A1D #1D8D22
split-complementary
#1D508D #8D221D #888D1D
monochromatic
#081627 #13335A #1D508D #276DC0 #4B8CDA

Accessibility & contrast

On white

8.13
#1D508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D508D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D508D#FFFFFF#000000##FFFFFF
##1D508D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d508d;
/* rgb */ color: rgb(29, 80, 141);
/* oklch */ color: oklch(43.1% 0.114 255.1);
Tailwind
colors: {
  custom: {
    50: '#6b80af',
    500: '#1d508d',
    950: '#000000',
  },
}
SCSS
$custom: #1d508d;
$custom-light: #6b80af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d508d",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 212.679,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.11447,
    "h": 255.1
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D508D

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

Preview Lab → · Contrast checker → · Palette generator →

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