#1B5087#1B5087

#1B5087 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.107 H 252.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1B5087
RGBrgb(27, 80, 135)
HSLhsl(211, 67%, 32%)
HSVhsv(211, 80%, 53%)
CMYKcmyk(80%, 40.7%, 0%, 47.1%)
CIE-LABlab(33.39, 3.39, -35.66)
CIE-LCHlch(33.39, 35.82, 275.43°)
OKLaboklab(42.62% -0.0321 -0.1018)
OKLCHoklch(42.62% 0.107 252.5)
XYZxyz(7.6922, 7.7187, 24.0014)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5087 #87521B
analogous
#1B8687 #1B5087 #1C1B87
triadic
#1B5087 #871B50 #50871B
tetradic
#1B5087 #871B86 #87521B #1B871C
square
#1B5087 #871B86 #87521B #1B871C
split-complementary
#1B5087 #871C1B #86871B
monochromatic
#071421 #113254 #1B5087 #256EBA #438DD9

Accessibility & contrast

On white

8.25
#1B5087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B5087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5087
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5087#FFFFFF#000000##FFFFFF
##1B50871.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5087;
/* rgb */ color: rgb(27, 80, 135);
/* oklch */ color: oklch(42.6% 0.107 252.5);
Tailwind
colors: {
  custom: {
    50: '#6980aa',
    500: '#1b5087',
    950: '#000000',
  },
}
SCSS
$custom: #1b5087;
$custom-light: #6980aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5087",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 210.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.10679,
    "h": 252.5
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#1B5087
secondary
#BA8044
accent
#953EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5087

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

Preview Lab → · Contrast checker → · Palette generator →

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