#1B5487#1B5487

#1B5487 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.102 H 249.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1B5487
RGBrgb(27, 84, 135)
HSLhsl(208, 67%, 32%)
HSVhsv(208, 80%, 53%)
CMYKcmyk(80%, 37.8%, 0%, 47.1%)
CIE-LABlab(34.64, 0.77, -33.67)
CIE-LCHlch(34.64, 33.67, 271.31°)
OKLaboklab(43.6% -0.0359 -0.0959)
OKLCHoklch(43.6% 0.102 249.5)
XYZxyz(7.9938, 8.3220, 24.1020)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5487 #874E1B
analogous
#1B8784 #1B5487 #1B1E87
triadic
#1B5487 #871B54 #54871B
tetradic
#1B5487 #841B87 #874E1B #1E871B
square
#1B5487 #841B87 #874E1B #1E871B
split-complementary
#1B5487 #871B1E #87841B
monochromatic
#071521 #113454 #1B5487 #2574BA #4392D9

Accessibility & contrast

On white

7.88
#1B5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1B5487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5487
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5487#FFFFFF#000000##FFFFFF
##1B54871.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1b5487;
/* rgb */ color: rgb(27, 84, 135);
/* oklch */ color: oklch(43.6% 0.102 249.5);
Tailwind
colors: {
  custom: {
    50: '#6983aa',
    500: '#1b5487',
    950: '#000000',
  },
}
SCSS
$custom: #1b5487;
$custom-light: #6983aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5487",
  "rgb": {
    "r": 27,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 208.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43604,
    "c": 0.10243,
    "h": 249.5
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#1B5487
secondary
#BA7C44
accent
#8F3EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5487

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

Preview Lab → · Contrast checker → · Palette generator →

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