#1D5170#1D5170

#1D5170 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.5% C 0.075 H 238.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#1D5170
RGBrgb(29, 81, 112)
HSLhsl(202, 59%, 28%)
HSVhsv(202, 74%, 44%)
CMYKcmyk(74.1%, 27.7%, 0%, 56.1%)
CIE-LABlab(32.51, -5.99, -22.77)
CIE-LCHlch(32.51, 23.55, 255.27°)
OKLaboklab(41.54% -0.0391 -0.0642)
OKLCHoklch(41.54% 0.075 238.7)
XYZxyz(6.3726, 7.3152, 16.4022)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D5170 #703C1D
analogous
#1D7066 #1D5170 #1D2770
triadic
#1D5170 #701D51 #51701D
tetradic
#1D5170 #661D70 #703C1D #27701D
square
#1D5170 #661D70 #703C1D #27701D
split-complementary
#1D5170 #701D27 #70661D
monochromatic
#061218 #102E3F #1D5170 #2A74A1 #3B96CC

Accessibility & contrast

On white

8.53
#1D5170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1D5170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D5170
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D5170#FFFFFF#000000##FFFFFF
##1D51701.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425171
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d5170;
/* rgb */ color: rgb(29, 81, 112);
/* oklch */ color: oklch(41.5% 0.075 238.7);
Tailwind
colors: {
  custom: {
    50: '#658199',
    500: '#1d5170',
    950: '#000000',
  },
}
SCSS
$custom: #1d5170;
$custom-light: #658199;
$custom-dark: #000000;
JSON
{
  "hex": "#1d5170",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 202.41,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.07515,
    "h": 238.7
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#1D5170
secondary
#A46844
accent
#8046E2
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1D5170

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

Preview Lab → · Contrast checker → · Palette generator →

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