#1B7998#1B7998

#1B7998 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.095 H 225.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1B7998
RGBrgb(27, 121, 152)
HSLhsl(195, 70%, 35%)
HSVhsv(195, 82%, 60%)
CMYKcmyk(82.2%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.20, -15.10, -24.20)
CIE-LCHlch(47.20, 28.52, 238.03°)
OKLaboklab(53.85% -0.0661 -0.068)
OKLCHoklch(53.85% 0.095 225.8)
XYZxyz(12.9545, 16.1731, 32.1386)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7998 #983A1B
analogous
#1B9878 #1B7998 #1B3B98
triadic
#1B7998 #981B79 #79981B
tetradic
#1B7998 #781B98 #983A1B #3B981B
square
#1B7998 #781B98 #983A1B #3B981B
split-complementary
#1B7998 #981B3B #98781B
monochromatic
#092630 #125064 #1B7998 #24A2CC #4EBBE0

Accessibility & contrast

On white

4.96
#1B7998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1B7998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7998
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7998#FFFFFF#000000##FFFFFF
##1B79981.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68769A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b7998;
/* rgb */ color: rgb(27, 121, 152);
/* oklch */ color: oklch(53.8% 0.095 225.8);
Tailwind
colors: {
  custom: {
    50: '#6e9fb6',
    500: '#1b7998',
    950: '#000000',
  },
}
SCSS
$custom: #1b7998;
$custom-light: #6e9fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7998",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 194.88,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.09481,
    "h": 225.8
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#1B7998
secondary
#C26A4D
accent
#673BED
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1B7998

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

Preview Lab → · Contrast checker → · Palette generator →

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