#1D508A#1D508A

#1D508A is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.9% C 0.110 H 254.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#1D508A
RGBrgb(29, 80, 138)
HSLhsl(212, 65%, 33%)
HSVhsv(212, 79%, 54%)
CMYKcmyk(79%, 42%, 0%, 45.9%)
CIE-LABlab(33.63, 4.84, -37.11)
CIE-LCHlch(33.63, 37.43, 277.43°)
OKLaboklab(42.89% -0.0302 -0.1061)
OKLCHoklch(42.89% 0.11 254.1)
XYZxyz(7.9611, 7.8326, 25.1321)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D508A #8A571D
analogous
#1D868A #1D508A #211D8A
triadic
#1D508A #8A1D50 #508A1D
tetradic
#1D508A #8A1D86 #8A571D #1D8A21
square
#1D508A #8A1D86 #8A571D #1D8A21
split-complementary
#1D508A #8A211D #868A1D
monochromatic
#081525 #123357 #1D508A #286DBD #498CD9

Accessibility & contrast

On white

8.18
#1D508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1D508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D508A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D508A#FFFFFF#000000##FFFFFF
##1D508A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1d508a;
/* rgb */ color: rgb(29, 80, 138);
/* oklch */ color: oklch(42.9% 0.110 254.1);
Tailwind
colors: {
  custom: {
    50: '#6a80ac',
    500: '#1d508a',
    950: '#000000',
  },
}
SCSS
$custom: #1d508a;
$custom-light: #6a80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d508a",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 211.927,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.11029,
    "h": 254.1
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#1D508A
secondary
#BB8548
accent
#9940E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D508A

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

Preview Lab → · Contrast checker → · Palette generator →

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