#1B587D#1B587D

#1B587D is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.086 H 240.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1B587D
RGBrgb(27, 88, 125)
HSLhsl(203, 64%, 30%)
HSVhsv(203, 78%, 49%)
CMYKcmyk(78.4%, 29.6%, 0%, 51%)
CIE-LABlab(35.38, -5.68, -26.36)
CIE-LCHlch(35.38, 26.96, 257.83°)
OKLaboklab(44.01% -0.043 -0.0745)
OKLCHoklch(44.01% 0.086 240)
XYZxyz(7.6419, 8.6922, 20.6731)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B587D #7D401B
analogous
#1B7D71 #1B587D #1B277D
triadic
#1B587D #7D1B58 #587D1B
tetradic
#1B587D #711B7D #7D401B #277D1B
square
#1B587D #711B7D #7D401B #277D1B
split-complementary
#1B587D #7D1B27 #7D711B
monochromatic
#051219 #10354B #1B587D #267BAF #3D9CD5

Accessibility & contrast

On white

7.67
#1B587D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1B587D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B587D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B587D#FFFFFF#000000##FFFFFF
##1B587D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587F
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b587d;
/* rgb */ color: rgb(27, 88, 125);
/* oklch */ color: oklch(44.0% 0.086 240.0);
Tailwind
colors: {
  custom: {
    50: '#6787a3',
    500: '#1b587d',
    950: '#000000',
  },
}
SCSS
$custom: #1b587d;
$custom-light: #6787a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b587d",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 202.653,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.08606,
    "h": 240
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#1B587D
secondary
#B16C43
accent
#7F40E7
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B587D

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

Preview Lab → · Contrast checker → · Palette generator →

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