#1B5387#1B5387

#1B5387 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.103 H 250.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#1B5387
RGBrgb(27, 83, 135)
HSLhsl(209, 67%, 32%)
HSVhsv(209, 80%, 53%)
CMYKcmyk(80%, 38.5%, 0%, 47.1%)
CIE-LABlab(34.33, 1.42, -34.16)
CIE-LCHlch(34.33, 34.19, 272.38°)
OKLaboklab(43.36% -0.035 -0.0974)
OKLCHoklch(43.36% 0.103 250.3)
XYZxyz(7.9168, 8.1679, 24.0763)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5387 #874F1B
analogous
#1B8785 #1B5387 #1B1D87
triadic
#1B5387 #871B53 #53871B
tetradic
#1B5387 #851B87 #874F1B #1D871B
square
#1B5387 #851B87 #874F1B #1D871B
split-complementary
#1B5387 #871B1D #87851B
monochromatic
#071421 #113454 #1B5387 #2572BA #4391D9

Accessibility & contrast

On white

7.97
#1B5387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1B5387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5387
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5387#FFFFFF#000000##FFFFFF
##1B53871.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5689
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5387;
/* rgb */ color: rgb(27, 83, 135);
/* oklch */ color: oklch(43.4% 0.103 250.3);
Tailwind
colors: {
  custom: {
    50: '#6983aa',
    500: '#1b5387',
    950: '#000000',
  },
}
SCSS
$custom: #1b5387;
$custom-light: #6983aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5387",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 208.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.10349,
    "h": 250.3
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#1B5387
secondary
#BA7D44
accent
#913EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5387

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

Preview Lab → · Contrast checker → · Palette generator →

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