#1797B4#1797B4

#1797B4 is a light, moderate cyan. Relative luminance 0.256; OKLCH L 62.6% C 0.109 H 218.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1797B4
RGBrgb(23, 151, 180)
HSLhsl(191, 77%, 40%)
HSVhsv(191, 87%, 71%)
CMYKcmyk(87.2%, 16.1%, 0%, 29.4%)
CIE-LABlab(57.66, -21.84, -24.23)
CIE-LCHlch(57.66, 32.62, 227.97°)
OKLaboklab(62.62% -0.0849 -0.0679)
OKLCHoklch(62.62% 0.109 218.6)
XYZxyz(19.6546, 25.6081, 47.0781)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1797B4 #B43417
analogous
#17B483 #1797B4 #1748B4
triadic
#1797B4 #B41797 #97B417
tetradic
#1797B4 #8317B4 #B43417 #48B417
square
#1797B4 #8317B4 #B43417 #48B417
split-complementary
#1797B4 #B41748 #B48317
monochromatic
#093C47 #10697E #1797B4 #25C0E3 #5BD0EA

Accessibility & contrast

On white

3.43
#1797B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#1797B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1797B4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1797B4#FFFFFF#000000##000000
##1797B41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B6
Deuteranopia (green-blind)
#7184B4
Tritanopia (blue-blind)
#00A1A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1797b4;
/* rgb */ color: rgb(23, 151, 180);
/* oklch */ color: oklch(62.6% 0.109 218.6);
Tailwind
colors: {
  custom: {
    50: '#75b5ca',
    500: '#1797b4',
    950: '#000000',
  },
}
SCSS
$custom: #1797b4;
$custom-light: #75b5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1797b4",
  "rgb": {
    "r": 23,
    "g": 151,
    "b": 180
  },
  "hsl": {
    "h": 191.083,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62617,
    "c": 0.10867,
    "h": 218.6
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

primary
#1797B4
secondary
#CE6F59
accent
#5734F4
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #1797B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1797B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva