#1D5982#1D5982

#1D5982 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.090 H 242.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#1D5982
RGBrgb(29, 89, 130)
HSLhsl(204, 64%, 31%)
HSVhsv(204, 78%, 51%)
CMYKcmyk(77.7%, 31.5%, 0%, 49%)
CIE-LABlab(36.02, -4.12, -28.43)
CIE-LCHlch(36.02, 28.73, 261.76°)
OKLaboklab(44.61% -0.0413 -0.0805)
OKLCHoklch(44.61% 0.09 242.9)
XYZxyz(8.1068, 9.0167, 22.4279)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5982 #82461D
analogous
#1D8278 #1D5982 #1D2782
triadic
#1D5982 #821D59 #59821D
tetradic
#1D5982 #781D82 #82461D #27821D
square
#1D5982 #781D82 #82461D #27821D
split-complementary
#1D5982 #821D27 #82781D
monochromatic
#07141E #123750 #1D5982 #287BB4 #449AD5

Accessibility & contrast

On white

7.49
#1D5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1D5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5982
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5982#FFFFFF#000000##FFFFFF
##1D59821.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1d5982;
/* rgb */ color: rgb(29, 89, 130);
/* oklch */ color: oklch(44.6% 0.090 242.9);
Tailwind
colors: {
  custom: {
    50: '#6987a6',
    500: '#1d5982',
    950: '#000000',
  },
}
SCSS
$custom: #1d5982;
$custom-light: #6987a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5982",
  "rgb": {
    "r": 29,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 204.356,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.09049,
    "h": 242.9
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#1D5982
secondary
#B57346
accent
#8441E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1D5982

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

Preview Lab → · Contrast checker → · Palette generator →

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