#1B798E#1B798E

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

Color values

HEX#1B798E
RGBrgb(27, 121, 142)
HSLhsl(191, 68%, 33%)
HSVhsv(191, 81%, 56%)
CMYKcmyk(81%, 14.8%, 0%, 44.3%)
CIE-LABlab(46.79, -18.63, -18.93)
CIE-LCHlch(46.79, 26.56, 225.46°)
OKLaboklab(53.38% -0.0702 -0.0529)
OKLCHoklch(53.38% 0.088 217)
XYZxyz(12.1698, 15.8592, 28.0057)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B798E #8E301B
analogous
#1B8E6A #1B798E #1B3F8E
triadic
#1B798E #8E1B79 #798E1B
tetradic
#1B798E #6A1B8E #8E301B #3F8E1B
square
#1B798E #6A1B8E #8E301B #3F8E1B
split-complementary
#1B798E #8E1B3F #8E6A1B
monochromatic
#072127 #114D5B #1B798E #25A5C1 #47C1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B798E#FFFFFF#000000##FFFFFF
##1B798E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b798e;
/* rgb */ color: rgb(27, 121, 142);
/* oklch */ color: oklch(53.4% 0.088 217.0);
Tailwind
colors: {
  custom: {
    50: '#6ca0af',
    500: '#1b798e',
    950: '#000000',
  },
}
SCSS
$custom: #1b798e;
$custom-light: #6ca0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b798e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 190.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.08789,
    "h": 217
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#1B798E
secondary
#BE5D47
accent
#5D3DEB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B798E

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

Preview Lab → · Contrast checker → · Palette generator →

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