#1B587C#1B587C

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

Color values

HEX#1B587C
RGBrgb(27, 88, 124)
HSLhsl(202, 64%, 30%)
HSVhsv(202, 78%, 49%)
CMYKcmyk(78.2%, 29%, 0%, 51.4%)
CIE-LABlab(35.33, -6.07, -25.82)
CIE-LCHlch(35.33, 26.52, 256.78°)
OKLaboklab(43.96% -0.0434 -0.073)
OKLCHoklch(43.96% 0.085 239.3)
XYZxyz(7.5784, 8.6668, 20.3383)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B587C #7C3F1B
analogous
#1B7C70 #1B587C #1B287C
triadic
#1B587C #7C1B58 #587C1B
tetradic
#1B587C #701B7C #7C3F1B #287C1B
square
#1B587C #701B7C #7C3F1B #287C1B
split-complementary
#1B587C #7C1B28 #7C701B
monochromatic
#051219 #10344A #1B587C #267CAE #3D9CD5

Accessibility & contrast

On white

7.68
#1B587C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1B587C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B587C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B587C#FFFFFF#000000##FFFFFF
##1B587C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b587c;
/* rgb */ color: rgb(27, 88, 124);
/* oklch */ color: oklch(44.0% 0.085 239.3);
Tailwind
colors: {
  custom: {
    50: '#6787a2',
    500: '#1b587c',
    950: '#000000',
  },
}
SCSS
$custom: #1b587c;
$custom-light: #6787a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b587c",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 202.268,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43956,
    "c": 0.08489,
    "h": 239.3
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#1B587C
secondary
#B06B43
accent
#7E41E7
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B587C

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

Preview Lab → · Contrast checker → · Palette generator →

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