#1F789B#1F789B

#1F789B is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.096 H 229.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F789B
RGBrgb(31, 120, 155)
HSLhsl(197, 67%, 36%)
HSVhsv(197, 80%, 61%)
CMYKcmyk(80%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.09, -13.04, -26.12)
CIE-LCHlch(47.09, 29.20, 243.47°)
OKLaboklab(53.83% -0.0624 -0.0735)
OKLCHoklch(53.83% 0.096 229.7)
XYZxyz(13.1955, 16.0892, 33.4141)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F789B #9B421F
analogous
#1F9B80 #1F789B #1F3A9B
triadic
#1F789B #9B1F78 #789B1F
tetradic
#1F789B #801F9B #9B421F #3A9B1F
square
#1F789B #801F9B #9B421F #3A9B1F
split-complementary
#1F789B #9B1F3A #9B801F
monochromatic
#0B2935 #155168 #1F789B #299FCE #57B7DD

Accessibility & contrast

On white

4.98
#1F789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F789B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F789B#FFFFFF#000000##FFFFFF
##1F789B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66769D
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f789b;
/* rgb */ color: rgb(31, 120, 155);
/* oklch */ color: oklch(53.8% 0.096 229.7);
Tailwind
colors: {
  custom: {
    50: '#709fb8',
    500: '#1f789b',
    950: '#000000',
  },
}
SCSS
$custom: #1f789b;
$custom-light: #709fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f789b",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 196.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.09643,
    "h": 229.7
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F789B

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

Preview Lab → · Contrast checker → · Palette generator →

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