#1B5F87#1B5F87

#1B5F87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.092 H 239.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1B5F87
RGBrgb(27, 95, 135)
HSLhsl(202, 67%, 32%)
HSVhsv(202, 80%, 53%)
CMYKcmyk(80%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.14, -6.17, -28.15)
CIE-LCHlch(38.14, 28.82, 257.64°)
OKLaboklab(46.36% -0.0467 -0.0797)
OKLCHoklch(46.36% 0.092 239.6)
XYZxyz(8.9157, 10.1656, 24.4092)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5F87 #87431B
analogous
#1B8779 #1B5F87 #1B2987
triadic
#1B5F87 #871B5F #5F871B
tetradic
#1B5F87 #791B87 #87431B #29871B
square
#1B5F87 #791B87 #87431B #29871B
split-complementary
#1B5F87 #871B29 #87791B
monochromatic
#071721 #113B54 #1B5F87 #2583BA #43A2D9

Accessibility & contrast

On white

6.92
#1B5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1B5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B5F87
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5F87#FFFFFF#000000##FFFFFF
##1B5F871.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b5f87;
/* rgb */ color: rgb(27, 95, 135);
/* oklch */ color: oklch(46.4% 0.092 239.6);
Tailwind
colors: {
  custom: {
    50: '#698caa',
    500: '#1b5f87',
    950: '#000000',
  },
}
SCSS
$custom: #1b5f87;
$custom-light: #698caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5f87",
  "rgb": {
    "r": 27,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 202.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.09232,
    "h": 239.6
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#1B5F87
secondary
#BA7044
accent
#7E3EEA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C10
muted
#7A7D7F

Preview Lab

Preview with #1B5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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