#1F789C#1F789C

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

Color values

HEX#1F789C
RGBrgb(31, 120, 156)
HSLhsl(197, 67%, 37%)
HSVhsv(197, 80%, 61%)
CMYKcmyk(80.1%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.14, -12.68, -26.64)
CIE-LCHlch(47.14, 29.51, 244.54°)
OKLaboklab(53.87% -0.0621 -0.075)
OKLCHoklch(53.87% 0.097 230.4)
XYZxyz(13.2798, 16.1229, 33.8582)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F789C #9C431F
analogous
#1F9C82 #1F789C #1F3A9C
triadic
#1F789C #9C1F78 #789C1F
tetradic
#1F789C #821F9C #9C431F #3A9C1F
square
#1F789C #821F9C #9C431F #3A9C1F
split-complementary
#1F789C #9C1F3A #9C821F
monochromatic
#0B2936 #155169 #1F789C #299FCF #58B7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F789C#FFFFFF#000000##FFFFFF
##1F789C1.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)
#66769E
Deuteranopia (green-blind)
#556B9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f789c;
/* rgb */ color: rgb(31, 120, 156);
/* oklch */ color: oklch(53.9% 0.097 230.4);
Tailwind
colors: {
  custom: {
    50: '#709fb9',
    500: '#1f789c',
    950: '#000000',
  },
}
SCSS
$custom: #1f789c;
$custom-light: #709fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f789c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 197.28,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.09734,
    "h": 230.4
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#1F789C
secondary
#C17455
accent
#6F3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F789C

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

Preview Lab → · Contrast checker → · Palette generator →

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