#1A7998#1A7998

#1A7998 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.095 H 225.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1A7998
RGBrgb(26, 121, 152)
HSLhsl(195, 71%, 35%)
HSVhsv(195, 83%, 60%)
CMYKcmyk(82.9%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.18, -15.20, -24.23)
CIE-LCHlch(47.18, 28.60, 237.89°)
OKLaboklab(53.83% -0.0665 -0.068)
OKLCHoklch(53.83% 0.095 225.7)
XYZxyz(12.9285, 16.1597, 32.1374)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7998 #98391A
analogous
#1A9878 #1A7998 #1A3A98
triadic
#1A7998 #981A79 #79981A
tetradic
#1A7998 #781A98 #98391A #3A981A
square
#1A7998 #781A98 #98391A #3A981A
split-complementary
#1A7998 #981A3A #98781A
monochromatic
#08262F #114F64 #1A7998 #23A3CC #4CBCE0

Accessibility & contrast

On white

4.96
#1A7998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1A7998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7998
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7998#FFFFFF#000000##FFFFFF
##1A79981.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68769A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a7998;
/* rgb */ color: rgb(26, 121, 152);
/* oklch */ color: oklch(53.8% 0.095 225.7);
Tailwind
colors: {
  custom: {
    50: '#6e9fb6',
    500: '#1a7998',
    950: '#000000',
  },
}
SCSS
$custom: #1a7998;
$custom-light: #6e9fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7998",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 194.762,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.09513,
    "h": 225.7
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#1A7998
secondary
#C2694B
accent
#663AEE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1A7998

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

Preview Lab → · Contrast checker → · Palette generator →

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