#1B798F#1B798F

#1B798F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.088 H 218.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1B798F
RGBrgb(27, 121, 143)
HSLhsl(191, 68%, 33%)
HSVhsv(191, 81%, 56%)
CMYKcmyk(81.1%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.83, -18.29, -19.46)
CIE-LCHlch(46.83, 26.71, 226.79°)
OKLaboklab(53.43% -0.0698 -0.0544)
OKLCHoklch(53.43% 0.088 218)
XYZxyz(12.2452, 15.8894, 28.4029)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B798F #8F311B
analogous
#1B8F6B #1B798F #1B3F8F
triadic
#1B798F #8F1B79 #798F1B
tetradic
#1B798F #6B1B8F #8F311B #3F8F1B
square
#1B798F #6B1B8F #8F311B #3F8F1B
split-complementary
#1B798F #8F1B3F #8F6B1B
monochromatic
#082228 #114D5C #1B798F #25A5C2 #48C0DC

Accessibility & contrast

On white

5.03
#1B798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1B798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B798F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B798F#FFFFFF#000000##FFFFFF
##1B798F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b798f;
/* rgb */ color: rgb(27, 121, 143);
/* oklch */ color: oklch(53.4% 0.088 218.0);
Tailwind
colors: {
  custom: {
    50: '#6da0af',
    500: '#1b798f',
    950: '#000000',
  },
}
SCSS
$custom: #1b798f;
$custom-light: #6da0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b798f",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.379,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.08847,
    "h": 218
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#1B798F
secondary
#BE5E48
accent
#5E3DEB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B798F

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

Preview Lab → · Contrast checker → · Palette generator →

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