#1A798F#1A798F

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

Color values

HEX#1A798F
RGBrgb(26, 121, 143)
HSLhsl(191, 69%, 33%)
HSVhsv(191, 82%, 56%)
CMYKcmyk(81.8%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.81, -18.39, -19.49)
CIE-LCHlch(46.81, 26.80, 226.67°)
OKLaboklab(53.41% -0.0701 -0.0545)
OKLCHoklch(53.41% 0.089 217.9)
XYZxyz(12.2192, 15.8760, 28.4016)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A798F #8F301A
analogous
#1A8F6A #1A798F #1A3E8F
triadic
#1A798F #8F1A79 #798F1A
tetradic
#1A798F #6A1A8F #8F301A #3E8F1A
square
#1A798F #6A1A8F #8F301A #3E8F1A
split-complementary
#1A798F #8F1A3E #8F6A1A
monochromatic
#072127 #114D5B #1A798F #23A5C3 #46C1DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A798F#FFFFFF#000000##FFFFFF
##1A798F1.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)
#5B6A8F
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a798f;
/* rgb */ color: rgb(26, 121, 143);
/* oklch */ color: oklch(53.4% 0.089 217.9);
Tailwind
colors: {
  custom: {
    50: '#6ca0af',
    500: '#1a798f',
    950: '#000000',
  },
}
SCSS
$custom: #1a798f;
$custom-light: #6ca0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a798f",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.282,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.08881,
    "h": 217.9
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#1A798F
secondary
#BF5D46
accent
#5D3CEC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1A798F

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

Preview Lab → · Contrast checker → · Palette generator →

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