#1B5785#1B5785

#1B5785 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.097 H 246.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1B5785
RGBrgb(27, 87, 133)
HSLhsl(206, 66%, 31%)
HSVhsv(206, 80%, 52%)
CMYKcmyk(79.7%, 34.6%, 0%, 47.8%)
CIE-LABlab(35.48, -1.95, -31.11)
CIE-LCHlch(35.48, 31.18, 266.42°)
OKLaboklab(44.23% -0.0394 -0.0884)
OKLCHoklch(44.23% 0.097 246)
XYZxyz(8.0922, 8.7419, 23.4466)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5785 #85491B
analogous
#1B857E #1B5785 #1B2285
triadic
#1B5785 #851B57 #57851B
tetradic
#1B5785 #7E1B85 #85491B #22851B
square
#1B5785 #7E1B85 #85491B #22851B
split-complementary
#1B5785 #851B22 #857E1B
monochromatic
#06141F #113652 #1B5785 #2578B8 #4297D9

Accessibility & contrast

On white

7.64
#1B5785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B5785
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5785#FFFFFF#000000##FFFFFF
##1B57851.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425987
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5785;
/* rgb */ color: rgb(27, 87, 133);
/* oklch */ color: oklch(44.2% 0.097 246.0);
Tailwind
colors: {
  custom: {
    50: '#6886a9',
    500: '#1b5785',
    950: '#000000',
  },
}
SCSS
$custom: #1b5785;
$custom-light: #6886a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5785",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 206.038,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.09679,
    "h": 246
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#1B5785
secondary
#B87644
accent
#893FE9
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5785

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

Preview Lab → · Contrast checker → · Palette generator →

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