#1B5787#1B5787

#1B5787 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.099 H 247.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#1B5787
RGBrgb(27, 87, 135)
HSLhsl(207, 67%, 32%)
HSVhsv(207, 80%, 53%)
CMYKcmyk(80%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.59, -1.16, -32.16)
CIE-LCHlch(35.59, 32.19, 267.93°)
OKLaboklab(44.35% -0.0388 -0.0915)
OKLCHoklch(44.35% 0.099 247)
XYZxyz(8.2317, 8.7977, 24.1813)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5787 #874B1B
analogous
#1B8781 #1B5787 #1B2187
triadic
#1B5787 #871B57 #57871B
tetradic
#1B5787 #811B87 #874B1B #21871B
square
#1B5787 #811B87 #874B1B #21871B
split-complementary
#1B5787 #871B21 #87811B
monochromatic
#071521 #113654 #1B5787 #2578BA #4397D9

Accessibility & contrast

On white

7.61
#1B5787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1B5787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5787
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5787#FFFFFF#000000##FFFFFF
##1B57871.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5787;
/* rgb */ color: rgb(27, 87, 135);
/* oklch */ color: oklch(44.3% 0.099 247.0);
Tailwind
colors: {
  custom: {
    50: '#6986aa',
    500: '#1b5787',
    950: '#000000',
  },
}
SCSS
$custom: #1b5787;
$custom-light: #6986aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5787",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 206.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.09936,
    "h": 247
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#1B5787
secondary
#BA7844
accent
#8A3EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5787

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

Preview Lab → · Contrast checker → · Palette generator →

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