#1D5F87#1D5F87

#1D5F87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.092 H 240.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1D5F87
RGBrgb(29, 95, 135)
HSLhsl(203, 65%, 32%)
HSVhsv(203, 79%, 53%)
CMYKcmyk(78.5%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.19, -5.92, -28.07)
CIE-LCHlch(38.19, 28.69, 258.09°)
OKLaboklab(46.41% -0.0457 -0.0794)
OKLCHoklch(46.41% 0.092 240.1)
XYZxyz(8.9704, 10.1938, 24.4118)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5F87 #87451D
analogous
#1D877A #1D5F87 #1D2A87
triadic
#1D5F87 #871D5F #5F871D
tetradic
#1D5F87 #7A1D87 #87451D #2A871D
square
#1D5F87 #7A1D87 #87451D #2A871D
split-complementary
#1D5F87 #871D2A #877A1D
monochromatic
#071822 #123C55 #1D5F87 #2882B9 #47A1D7

Accessibility & contrast

On white

6.91
#1D5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1D5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D5F87
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5F87#FFFFFF#000000##FFFFFF
##1D5F871.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1d5f87;
/* rgb */ color: rgb(29, 95, 135);
/* oklch */ color: oklch(46.4% 0.092 240.1);
Tailwind
colors: {
  custom: {
    50: '#6a8caa',
    500: '#1d5f87',
    950: '#000000',
  },
}
SCSS
$custom: #1d5f87;
$custom-light: #6a8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5f87",
  "rgb": {
    "r": 29,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 202.642,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.0916,
    "h": 240.1
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#1D5F87
secondary
#B97246
accent
#7F40E8
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1D5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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