#1D508F#1D508F

#1D508F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.117 H 255.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#1D508F
RGBrgb(29, 80, 143)
HSLhsl(213, 66%, 34%)
HSVhsv(213, 80%, 56%)
CMYKcmyk(79.7%, 44.1%, 0%, 43.9%)
CIE-LABlab(33.94, 6.84, -39.67)
CIE-LCHlch(33.94, 40.26, 279.78°)
OKLaboklab(43.23% -0.0291 -0.1136)
OKLCHoklch(43.23% 0.117 255.6)
XYZxyz(8.3314, 7.9807, 27.0826)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D508F #8F5C1D
analogous
#1D898F #1D508F #231D8F
triadic
#1D508F #8F1D50 #508F1D
tetradic
#1D508F #8F1D89 #8F5C1D #1D8F23
square
#1D508F #8F1D89 #8F5C1D #1D8F23
split-complementary
#1D508F #8F231D #898F1D
monochromatic
#081729 #13345C #1D508F #276CC2 #4C8CDB

Accessibility & contrast

On white

8.09
#1D508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D508F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D508F#FFFFFF#000000##FFFFFF
##1D508F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d508f;
/* rgb */ color: rgb(29, 80, 143);
/* oklch */ color: oklch(43.2% 0.117 255.6);
Tailwind
colors: {
  custom: {
    50: '#6b80b0',
    500: '#1d508f',
    950: '#000000',
  },
}
SCSS
$custom: #1d508f;
$custom-light: #6b80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d508f",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 213.158,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.11725,
    "h": 255.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#1D508F
secondary
#BD8A4B
accent
#9D3FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D508F

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

Preview Lab → · Contrast checker → · Palette generator →

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