#1C789D#1C789D

#1C789D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.099 H 230.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1C789D
RGBrgb(28, 120, 157)
HSLhsl(197, 70%, 36%)
HSVhsv(197, 82%, 62%)
CMYKcmyk(82.2%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.12, -12.63, -27.26)
CIE-LCHlch(47.12, 30.04, 245.13°)
OKLaboklab(53.86% -0.0629 -0.0768)
OKLCHoklch(53.86% 0.099 230.7)
XYZxyz(13.2787, 16.1125, 34.3019)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C789D #9D411C
analogous
#1C9D82 #1C789D #1C389D
triadic
#1C789D #9D1C78 #789D1C
tetradic
#1C789D #821C9D #9D411C #389D1C
square
#1C789D #821C9D #9D411C #389D1C
split-complementary
#1C789D #9D1C38 #9D821C
monochromatic
#092935 #135069 #1C789D #25A0D1 #53B8E0

Accessibility & contrast

On white

4.97
#1C789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1C789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C789D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C789D#FFFFFF#000000##FFFFFF
##1C789D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65769F
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1c789d;
/* rgb */ color: rgb(28, 120, 157);
/* oklch */ color: oklch(53.9% 0.099 230.7);
Tailwind
colors: {
  custom: {
    50: '#6f9fba',
    500: '#1c789d',
    950: '#000000',
  },
}
SCSS
$custom: #1c789d;
$custom-light: #6f9fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1c789d",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 197.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.09922,
    "h": 230.7
  },
  "luminance": 0.16114
}

Semantic roles & 50–950 ramp

primary
#1C789D
secondary
#C37251
accent
#6E3BED
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1C789D

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

Preview Lab → · Contrast checker → · Palette generator →

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