#1D508E#1D508E

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

Color values

HEX#1D508E
RGBrgb(29, 80, 142)
HSLhsl(213, 66%, 34%)
HSVhsv(213, 80%, 56%)
CMYKcmyk(79.6%, 43.7%, 0%, 44.3%)
CIE-LABlab(33.88, 6.44, -39.16)
CIE-LCHlch(33.88, 39.69, 279.33°)
OKLaboklab(43.16% -0.0293 -0.1121)
OKLCHoklch(43.16% 0.116 255.4)
XYZxyz(8.2560, 7.9506, 26.6854)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D508E #8E5B1D
analogous
#1D888E #1D508E #221D8E
triadic
#1D508E #8E1D50 #508E1D
tetradic
#1D508E #8E1D88 #8E5B1D #1D8E22
square
#1D508E #8E1D88 #8E5B1D #1D8E22
split-complementary
#1D508E #8E221D #888E1D
monochromatic
#081728 #13335B #1D508E #276DC1 #4B8CDA

Accessibility & contrast

On white

8.11
#1D508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1D508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D508E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D508E#FFFFFF#000000##FFFFFF
##1D508E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d508e;
/* rgb */ color: rgb(29, 80, 142);
/* oklch */ color: oklch(43.2% 0.116 255.4);
Tailwind
colors: {
  custom: {
    50: '#6b80af',
    500: '#1d508e',
    950: '#000000',
  },
}
SCSS
$custom: #1d508e;
$custom-light: #6b80af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d508e",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 212.92,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.11586,
    "h": 255.4
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#1D508E
secondary
#BD894A
accent
#9C3FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D508E

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

Preview Lab → · Contrast checker → · Palette generator →

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