#1F8197#1F8197

#1F8197 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 55.9% C 0.091 H 217.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8197
RGBrgb(31, 129, 151)
HSLhsl(191, 66%, 36%)
HSVhsv(191, 79%, 59%)
CMYKcmyk(79.5%, 14.6%, 0%, 40.8%)
CIE-LABlab(49.77, -19.43, -19.65)
CIE-LCHlch(49.77, 27.63, 225.33°)
OKLaboklab(55.92% -0.073 -0.0549)
OKLCHoklch(55.92% 0.091 217)
XYZxyz(13.9989, 18.2245, 32.0520)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8197 #97351F
analogous
#1F9771 #1F8197 #1F4597
triadic
#1F8197 #971F81 #81971F
tetradic
#1F8197 #711F97 #97351F #45971F
square
#1F8197 #711F97 #97351F #45971F
split-complementary
#1F8197 #971F45 #97711F
monochromatic
#0A2A31 #155664 #1F8197 #29ACCA #54C3DC

Accessibility & contrast

On white

4.52
#1F8197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#1F8197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8197
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8197#FFFFFF#000000##000000
##1F81971.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D98
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#008988
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8197;
/* rgb */ color: rgb(31, 129, 151);
/* oklch */ color: oklch(55.9% 0.091 217.0);
Tailwind
colors: {
  custom: {
    50: '#70a5b5',
    500: '#1f8197',
    950: '#000000',
  },
}
SCSS
$custom: #1f8197;
$custom-light: #70a5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8197",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 151
  },
  "hsl": {
    "h": 191,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.09135,
    "h": 217
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#1F8197
secondary
#BF6652
accent
#5E3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F8197

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

Preview Lab → · Contrast checker → · Palette generator →

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