#1F798D#1F798D

#1F798D is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.086 H 216.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F798D
RGBrgb(31, 121, 141)
HSLhsl(191, 64%, 34%)
HSVhsv(191, 78%, 55%)
CMYKcmyk(78%, 14.2%, 0%, 44.7%)
CIE-LABlab(46.83, -18.53, -18.28)
CIE-LCHlch(46.83, 26.03, 224.61°)
OKLaboklab(53.42% -0.069 -0.051)
OKLCHoklch(53.42% 0.086 216.5)
XYZxyz(12.2081, 15.8877, 27.6173)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F798D #8D331F
analogous
#1F8D6A #1F798D #1F428D
triadic
#1F798D #8D1F79 #798D1F
tetradic
#1F798D #6A1F8D #8D331F #428D1F
square
#1F798D #6A1F8D #8D331F #428D1F
split-complementary
#1F798D #8D1F42 #8D6A1F
monochromatic
#092329 #144E5B #1F798D #2AA4BF #4EBFD8

Accessibility & contrast

On white

5.03
#1F798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F798D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F798D#FFFFFF#000000##FFFFFF
##1F798D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758E
Deuteranopia (green-blind)
#5D6A8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f798d;
/* rgb */ color: rgb(31, 121, 141);
/* oklch */ color: oklch(53.4% 0.086 216.5);
Tailwind
colors: {
  custom: {
    50: '#6da0ae',
    500: '#1f798d',
    950: '#000000',
  },
}
SCSS
$custom: #1f798d;
$custom-light: #6da0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f798d",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 190.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53421,
    "c": 0.08586,
    "h": 216.5
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#1F798D
secondary
#BB614D
accent
#5F41E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F798D

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

Preview Lab → · Contrast checker → · Palette generator →

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