#1B5786#1B5786

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

Color values

HEX#1B5786
RGBrgb(27, 87, 134)
HSLhsl(206, 66%, 32%)
HSVhsv(206, 80%, 53%)
CMYKcmyk(79.9%, 35.1%, 0%, 47.5%)
CIE-LABlab(35.54, -1.55, -31.64)
CIE-LCHlch(35.54, 31.68, 267.19°)
OKLaboklab(44.29% -0.0391 -0.0899)
OKLCHoklch(44.29% 0.098 246.5)
XYZxyz(8.1616, 8.7697, 23.8122)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5786 #864A1B
analogous
#1B8680 #1B5786 #1B2286
triadic
#1B5786 #861B57 #57861B
tetradic
#1B5786 #801B86 #864A1B #22861B
square
#1B5786 #801B86 #864A1B #22861B
split-complementary
#1B5786 #861B22 #86801B
monochromatic
#061520 #113653 #1B5786 #2578B9 #4297D9

Accessibility & contrast

On white

7.62
#1B5786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1B5786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5786
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5786#FFFFFF#000000##FFFFFF
##1B57861.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5786;
/* rgb */ color: rgb(27, 87, 134);
/* oklch */ color: oklch(44.3% 0.098 246.5);
Tailwind
colors: {
  custom: {
    50: '#6986a9',
    500: '#1b5786',
    950: '#000000',
  },
}
SCSS
$custom: #1b5786;
$custom-light: #6986a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5786",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 206.355,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.09808,
    "h": 246.5
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#1B5786
secondary
#B97744
accent
#8A3EE9
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5786

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

Preview Lab → · Contrast checker → · Palette generator →

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