#1B587E#1B587E

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

Color values

HEX#1B587E
RGBrgb(27, 88, 126)
HSLhsl(203, 65%, 30%)
HSVhsv(203, 79%, 49%)
CMYKcmyk(78.6%, 30.2%, 0%, 50.6%)
CIE-LABlab(35.44, -5.30, -26.89)
CIE-LCHlch(35.44, 27.41, 258.85°)
OKLaboklab(44.07% -0.0427 -0.0761)
OKLCHoklch(44.07% 0.087 240.7)
XYZxyz(7.7061, 8.7179, 21.0112)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B587E #7E411B
analogous
#1B7E72 #1B587E #1B277E
triadic
#1B587E #7E1B58 #587E1B
tetradic
#1B587E #721B7E #7E411B #277E1B
square
#1B587E #721B7E #7E411B #277E1B
split-complementary
#1B587E #7E1B27 #7E721B
monochromatic
#051219 #10354C #1B587E #267BB0 #3E9BD6

Accessibility & contrast

On white

7.65
#1B587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B587E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B587E#FFFFFF#000000##FFFFFF
##1B587E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b587e;
/* rgb */ color: rgb(27, 88, 126);
/* oklch */ color: oklch(44.1% 0.087 240.7);
Tailwind
colors: {
  custom: {
    50: '#6787a3',
    500: '#1b587e',
    950: '#000000',
  },
}
SCSS
$custom: #1b587e;
$custom-light: #6787a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b587e",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 203.03,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.08724,
    "h": 240.7
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#1B587E
secondary
#B26E43
accent
#8040E8
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B587E

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

Preview Lab → · Contrast checker → · Palette generator →

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