#1B587F#1B587F

#1B587F is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.088 H 241.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1B587F
RGBrgb(27, 88, 127)
HSLhsl(203, 65%, 30%)
HSVhsv(203, 79%, 50%)
CMYKcmyk(78.7%, 30.7%, 0%, 50.2%)
CIE-LABlab(35.49, -4.91, -27.43)
CIE-LCHlch(35.49, 27.86, 259.85°)
OKLaboklab(44.13% -0.0424 -0.0776)
OKLCHoklch(44.13% 0.088 241.4)
XYZxyz(7.7710, 8.7438, 21.3527)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B587F #7F421B
analogous
#1B7F74 #1B587F #1B267F
triadic
#1B587F #7F1B58 #587F1B
tetradic
#1B587F #741B7F #7F421B #267F1B
square
#1B587F #741B7F #7F421B #267F1B
split-complementary
#1B587F #7F1B26 #7F741B
monochromatic
#06121A #10354D #1B587F #267BB1 #3E9BD6

Accessibility & contrast

On white

7.64
#1B587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1B587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B587F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B587F#FFFFFF#000000##FFFFFF
##1B587F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b587f;
/* rgb */ color: rgb(27, 88, 127);
/* oklch */ color: oklch(44.1% 0.088 241.4);
Tailwind
colors: {
  custom: {
    50: '#6787a4',
    500: '#1b587f',
    950: '#000000',
  },
}
SCSS
$custom: #1b587f;
$custom-light: #6787a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b587f",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 203.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.08844,
    "h": 241.4
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#1B587F
secondary
#B36F43
accent
#8140E8
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B587F

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

Preview Lab → · Contrast checker → · Palette generator →

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