#1F798F#1F798F

#1F798F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.087 H 218.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F798F
RGBrgb(31, 121, 143)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 56%)
CMYKcmyk(78.3%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.91, -17.84, -19.34)
CIE-LCHlch(46.91, 26.31, 227.31°)
OKLaboklab(53.51% -0.0682 -0.054)
OKLCHoklch(53.51% 0.087 218.4)
XYZxyz(12.3583, 15.9477, 28.4082)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F798F #8F351F
analogous
#1F8F6D #1F798F #1F418F
triadic
#1F798F #8F1F79 #798F1F
tetradic
#1F798F #6D1F8F #8F351F #418F1F
square
#1F798F #6D1F8F #8F351F #418F1F
split-complementary
#1F798F #8F1F41 #8F6D1F
monochromatic
#09242A #144E5D #1F798F #2AA4C1 #4FBED9

Accessibility & contrast

On white

5.01
#1F798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F798F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F798F#FFFFFF#000000##FFFFFF
##1F798F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f798f;
/* rgb */ color: rgb(31, 121, 143);
/* oklch */ color: oklch(53.5% 0.087 218.4);
Tailwind
colors: {
  custom: {
    50: '#6ea0af',
    500: '#1f798f',
    950: '#000000',
  },
}
SCSS
$custom: #1f798f;
$custom-light: #6ea0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f798f",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.08702,
    "h": 218.4
  },
  "luminance": 0.15949
}

Semantic roles & 50–950 ramp

primary
#1F798F
secondary
#BC634E
accent
#6140E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F798F

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

Preview Lab → · Contrast checker → · Palette generator →

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