#1B5189#1B5189

#1B5189 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.108 H 252.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1B5189
RGBrgb(27, 81, 137)
HSLhsl(211, 67%, 32%)
HSVhsv(211, 80%, 54%)
CMYKcmyk(80.3%, 40.9%, 0%, 46.3%)
CIE-LABlab(33.82, 3.53, -36.20)
CIE-LCHlch(33.82, 36.37, 275.57°)
OKLaboklab(43% -0.0326 -0.1034)
OKLCHoklch(43% 0.108 252.5)
XYZxyz(7.9081, 7.9231, 24.7746)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5189 #89531B
analogous
#1B8889 #1B5189 #1C1B89
triadic
#1B5189 #891B51 #51891B
tetradic
#1B5189 #891B88 #89531B #1B891C
square
#1B5189 #891B88 #89531B #1B891C
split-complementary
#1B5189 #891C1B #88891B
monochromatic
#071523 #113356 #1B5189 #256FBC #448EDA

Accessibility & contrast

On white

8.12
#1B5189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1B5189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5189
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5189#FFFFFF#000000##FFFFFF
##1B51891.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558B
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5189;
/* rgb */ color: rgb(27, 81, 137);
/* oklch */ color: oklch(43.0% 0.108 252.5);
Tailwind
colors: {
  custom: {
    50: '#6981ac',
    500: '#1b5189',
    950: '#000000',
  },
}
SCSS
$custom: #1b5189;
$custom-light: #6981ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5189",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 210.545,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.10841,
    "h": 252.5
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#1B5189
secondary
#BC8144
accent
#953EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B5189

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

Preview Lab → · Contrast checker → · Palette generator →

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