#1B798D#1B798D

#1B798D is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.3% C 0.087 H 216.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1B798D
RGBrgb(27, 121, 141)
HSLhsl(191, 68%, 33%)
HSVhsv(191, 81%, 55%)
CMYKcmyk(80.9%, 14.2%, 0%, 44.7%)
CIE-LABlab(46.75, -18.98, -18.40)
CIE-LCHlch(46.75, 26.44, 224.12°)
OKLaboklab(53.34% -0.0706 -0.0514)
OKLCHoklch(53.34% 0.087 216.1)
XYZxyz(12.0950, 15.8293, 27.6120)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B798D #8D2F1B
analogous
#1B8D68 #1B798D #1B408D
triadic
#1B798D #8D1B79 #798D1B
tetradic
#1B798D #681B8D #8D2F1B #408D1B
square
#1B798D #681B8D #8D2F1B #408D1B
split-complementary
#1B798D #8D1B40 #8D681B
monochromatic
#072126 #114D5A #1B798D #25A5C0 #47C2DC

Accessibility & contrast

On white

5.04
#1B798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1B798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B798D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B798D#FFFFFF#000000##FFFFFF
##1B798D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758E
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b798d;
/* rgb */ color: rgb(27, 121, 141);
/* oklch */ color: oklch(53.3% 0.087 216.1);
Tailwind
colors: {
  custom: {
    50: '#6ca0ae',
    500: '#1b798d',
    950: '#000000',
  },
}
SCSS
$custom: #1b798d;
$custom-light: #6ca0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b798d",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 190.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.08733,
    "h": 216.1
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#1B798D
secondary
#BD5B46
accent
#5C3DEB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B798D

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

Preview Lab → · Contrast checker → · Palette generator →

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