#1B5987#1B5987

#1B5987 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.097 H 245.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#1B5987
RGBrgb(27, 89, 135)
HSLhsl(206, 67%, 32%)
HSVhsv(206, 80%, 53%)
CMYKcmyk(80%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.23, -2.43, -31.16)
CIE-LCHlch(36.23, 31.26, 265.54°)
OKLaboklab(44.85% -0.0407 -0.0885)
OKLCHoklch(44.85% 0.097 245.3)
XYZxyz(8.3959, 9.1260, 24.2360)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5987 #87491B
analogous
#1B877F #1B5987 #1B2387
triadic
#1B5987 #871B59 #59871B
tetradic
#1B5987 #7F1B87 #87491B #23871B
square
#1B5987 #7F1B87 #87491B #23871B
split-complementary
#1B5987 #871B23 #877F1B
monochromatic
#071621 #113754 #1B5987 #257BBA #4399D9

Accessibility & contrast

On white

7.43
#1B5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1B5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5987
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5987#FFFFFF#000000##FFFFFF
##1B59871.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1b5987;
/* rgb */ color: rgb(27, 89, 135);
/* oklch */ color: oklch(44.8% 0.097 245.3);
Tailwind
colors: {
  custom: {
    50: '#6987aa',
    500: '#1b5987',
    950: '#000000',
  },
}
SCSS
$custom: #1b5987;
$custom-light: #6987aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5987",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 205.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.09744,
    "h": 245.3
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#1B5987
secondary
#BA7644
accent
#873EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5987

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

Preview Lab → · Contrast checker → · Palette generator →

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