#1A798C#1A798C

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

Color values

HEX#1A798C
RGBrgb(26, 121, 140)
HSLhsl(190, 69%, 33%)
HSVhsv(190, 81%, 55%)
CMYKcmyk(81.4%, 13.6%, 0%, 45.1%)
CIE-LABlab(46.69, -19.43, -17.90)
CIE-LCHlch(46.69, 26.42, 222.65°)
OKLaboklab(53.27% -0.0714 -0.05)
OKLCHoklch(53.27% 0.087 215)
XYZxyz(11.9950, 15.7863, 27.2207)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A798C #8C2D1A
analogous
#1A8C66 #1A798C #1A408C
triadic
#1A798C #8C1A79 #798C1A
tetradic
#1A798C #661A8C #8C2D1A #408C1A
square
#1A798C #661A8C #8C2D1A #408C1A
split-complementary
#1A798C #8C1A40 #8C661A
monochromatic
#072025 #104C58 #1A798C #24A6C0 #44C3DC

Accessibility & contrast

On white

5.05
#1A798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1A798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A798C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A798C#FFFFFF#000000##FFFFFF
##1A798C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a798c;
/* rgb */ color: rgb(26, 121, 140);
/* oklch */ color: oklch(53.3% 0.087 215.0);
Tailwind
colors: {
  custom: {
    50: '#6ca0ad',
    500: '#1a798c',
    950: '#000000',
  },
}
SCSS
$custom: #1a798c;
$custom-light: #6ca0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a798c",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 190,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.08714,
    "h": 215
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#1A798C
secondary
#BE5844
accent
#593CEC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1A798C

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

Preview Lab → · Contrast checker → · Palette generator →

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