#1B4987#1B4987

#1B4987 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.9% C 0.115 H 257.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4987
RGBrgb(27, 73, 135)
HSLhsl(214, 67%, 32%)
HSVhsv(214, 80%, 53%)
CMYKcmyk(80%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.22, 8.07, -39.12)
CIE-LCHlch(31.22, 39.95, 281.66°)
OKLaboklab(40.94% -0.0258 -0.1122)
OKLCHoklch(40.94% 0.115 257.1)
XYZxyz(7.2061, 6.7465, 23.8394)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4987 #87591B
analogous
#1B7F87 #1B4987 #231B87
triadic
#1B4987 #871B49 #49871B
tetradic
#1B4987 #871B7F #87591B #1B8723
square
#1B4987 #871B7F #87591B #1B8723
split-complementary
#1B4987 #87231B #7F871B
monochromatic
#071221 #112D54 #1B4987 #2565BA #4383D9

Accessibility & contrast

On white

8.94
#1B4987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1B4987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4987
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4987#FFFFFF#000000##FFFFFF
##1B49871.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4987;
/* rgb */ color: rgb(27, 73, 135);
/* oklch */ color: oklch(40.9% 0.115 257.1);
Tailwind
colors: {
  custom: {
    50: '#697baa',
    500: '#1b4987',
    950: '#000000',
  },
}
SCSS
$custom: #1b4987;
$custom-light: #697baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4987",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 214.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.11508,
    "h": 257.1
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#1B4987
secondary
#BA8844
accent
#A13EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4987

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

Preview Lab → · Contrast checker → · Palette generator →

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