#1B5887#1B5887

#1B5887 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.098 H 246.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1B5887
RGBrgb(27, 88, 135)
HSLhsl(206, 67%, 32%)
HSVhsv(206, 80%, 53%)
CMYKcmyk(80%, 34.8%, 0%, 47.1%)
CIE-LABlab(35.91, -1.80, -31.66)
CIE-LCHlch(35.91, 31.72, 266.75°)
OKLaboklab(44.6% -0.0398 -0.09)
OKLCHoklch(44.6% 0.098 246.2)
XYZxyz(8.3132, 8.9607, 24.2084)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5887 #874A1B
analogous
#1B8780 #1B5887 #1B2287
triadic
#1B5887 #871B58 #58871B
tetradic
#1B5887 #801B87 #874A1B #22871B
square
#1B5887 #801B87 #874A1B #22871B
split-complementary
#1B5887 #871B22 #87801B
monochromatic
#071621 #113754 #1B5887 #2579BA #4398D9

Accessibility & contrast

On white

7.52
#1B5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1B5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5887
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5887#FFFFFF#000000##FFFFFF
##1B58871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5887;
/* rgb */ color: rgb(27, 88, 135);
/* oklch */ color: oklch(44.6% 0.098 246.2);
Tailwind
colors: {
  custom: {
    50: '#6986aa',
    500: '#1b5887',
    950: '#000000',
  },
}
SCSS
$custom: #1b5887;
$custom-light: #6986aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5887",
  "rgb": {
    "r": 27,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 206.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.09839,
    "h": 246.2
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#1B5887
secondary
#BA7744
accent
#893EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5887

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

Preview Lab → · Contrast checker → · Palette generator →

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