#1B5B87#1B5B87

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

Color values

HEX#1B5B87
RGBrgb(27, 91, 135)
HSLhsl(204, 67%, 32%)
HSVhsv(204, 80%, 53%)
CMYKcmyk(80%, 32.6%, 0%, 47.1%)
CIE-LABlab(36.86, -3.69, -30.16)
CIE-LCHlch(36.86, 30.39, 263.02°)
OKLaboklab(45.35% -0.0427 -0.0856)
OKLCHoklch(45.35% 0.096 243.5)
XYZxyz(8.5646, 9.4634, 24.2922)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5B87 #87471B
analogous
#1B877D #1B5B87 #1B2587
triadic
#1B5B87 #871B5B #5B871B
tetradic
#1B5B87 #7D1B87 #87471B #25871B
square
#1B5B87 #7D1B87 #87471B #25871B
split-complementary
#1B5B87 #871B25 #877D1B
monochromatic
#071621 #113954 #1B5B87 #257DBA #439CD9

Accessibility & contrast

On white

7.26
#1B5B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1B5B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5B87
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5B87#FFFFFF#000000##FFFFFF
##1B5B871.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b5b87;
/* rgb */ color: rgb(27, 91, 135);
/* oklch */ color: oklch(45.4% 0.096 243.5);
Tailwind
colors: {
  custom: {
    50: '#6989aa',
    500: '#1b5b87',
    950: '#000000',
  },
}
SCSS
$custom: #1b5b87;
$custom-light: #6989aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5b87",
  "rgb": {
    "r": 27,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 204.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.09563,
    "h": 243.5
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#1B5B87
secondary
#BA7444
accent
#843EEA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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