#1B5C87#1B5C87

#1B5C87 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.6% C 0.095 H 242.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1B5C87
RGBrgb(27, 92, 135)
HSLhsl(204, 67%, 32%)
HSVhsv(204, 80%, 53%)
CMYKcmyk(80%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.18, -4.32, -29.66)
CIE-LCHlch(37.18, 29.97, 261.72°)
OKLaboklab(45.6% -0.0437 -0.0841)
OKLCHoklch(45.6% 0.095 242.5)
XYZxyz(8.6506, 9.6355, 24.3209)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5C87 #87461B
analogous
#1B877C #1B5C87 #1B2687
triadic
#1B5C87 #871B5C #5C871B
tetradic
#1B5C87 #7C1B87 #87461B #26871B
square
#1B5C87 #7C1B87 #87461B #26871B
split-complementary
#1B5C87 #871B26 #877C1B
monochromatic
#071621 #113954 #1B5C87 #257FBA #439ED9

Accessibility & contrast

On white

7.17
#1B5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1B5C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5C87
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5C87#FFFFFF#000000##FFFFFF
##1B5C871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b5c87;
/* rgb */ color: rgb(27, 92, 135);
/* oklch */ color: oklch(45.6% 0.095 242.5);
Tailwind
colors: {
  custom: {
    50: '#698aaa',
    500: '#1b5c87',
    950: '#000000',
  },
}
SCSS
$custom: #1b5c87;
$custom-light: #698aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5c87",
  "rgb": {
    "r": 27,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 203.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.09475,
    "h": 242.5
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#1B5C87
secondary
#BA7344
accent
#823EEA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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