#1B5997#1B5997

#1B5997 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.118 H 252.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#1B5997
RGBrgb(27, 89, 151)
HSLhsl(210, 70%, 35%)
HSVhsv(210, 82%, 59%)
CMYKcmyk(82.1%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.13, 3.89, -39.42)
CIE-LCHlch(37.13, 39.61, 275.63°)
OKLaboklab(45.86% -0.0363 -0.1127)
OKLCHoklch(45.86% 0.118 252.2)
XYZxyz(9.6082, 9.6110, 30.6209)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5997 #97591B
analogous
#1B9797 #1B5997 #1B1B97
triadic
#1B5997 #971B59 #59971B
tetradic
#1B5997 #971B97 #97591B #1B971B
square
#1B5997 #971B97 #97591B #1B971B
split-complementary
#1B5997 #971B1B #97971B
monochromatic
#081C2F #123A63 #1B5997 #2478CB #4D96DF

Accessibility & contrast

On white

7.19
#1B5997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1B5997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5997
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5997#FFFFFF#000000##FFFFFF
##1B59971.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b5997;
/* rgb */ color: rgb(27, 89, 151);
/* oklch */ color: oklch(45.9% 0.118 252.2);
Tailwind
colors: {
  custom: {
    50: '#6c87b6',
    500: '#1b5997',
    950: '#000000',
  },
}
SCSS
$custom: #1b5997;
$custom-light: #6c87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5997",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 210,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.11841,
    "h": 252.2
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#1B5997
secondary
#C1874C
accent
#943BEC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1B5997

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

Preview Lab → · Contrast checker → · Palette generator →

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