#1B5587#1B5587

#1B5587 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.101 H 248.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1B5587
RGBrgb(27, 85, 135)
HSLhsl(208, 67%, 32%)
HSVhsv(208, 80%, 53%)
CMYKcmyk(80%, 37%, 0%, 47.1%)
CIE-LABlab(34.96, 0.12, -33.17)
CIE-LCHlch(34.96, 33.17, 270.21°)
OKLaboklab(43.85% -0.0369 -0.0944)
OKLCHoklch(43.85% 0.101 248.7)
XYZxyz(8.0720, 8.4783, 24.1280)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5587 #874D1B
analogous
#1B8783 #1B5587 #1B1F87
triadic
#1B5587 #871B55 #55871B
tetradic
#1B5587 #831B87 #874D1B #1F871B
square
#1B5587 #831B87 #874D1B #1F871B
split-complementary
#1B5587 #871B1F #87831B
monochromatic
#071521 #113554 #1B5587 #2575BA #4394D9

Accessibility & contrast

On white

7.79
#1B5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1B5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5587
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5587#FFFFFF#000000##FFFFFF
##1B55871.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b5587;
/* rgb */ color: rgb(27, 85, 135);
/* oklch */ color: oklch(43.9% 0.101 248.7);
Tailwind
colors: {
  custom: {
    50: '#6984aa',
    500: '#1b5587',
    950: '#000000',
  },
}
SCSS
$custom: #1b5587;
$custom-light: #6984aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5587",
  "rgb": {
    "r": 27,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 207.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.10138,
    "h": 248.7
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#1B5587
secondary
#BA7B44
accent
#8E3EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5587

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

Preview Lab → · Contrast checker → · Palette generator →

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