#1F8198#1F8198

#1F8198 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.0% C 0.092 H 217.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8198
RGBrgb(31, 129, 152)
HSLhsl(191, 66%, 36%)
HSVhsv(191, 80%, 60%)
CMYKcmyk(79.6%, 15.1%, 0%, 40.4%)
CIE-LABlab(49.81, -19.09, -20.18)
CIE-LCHlch(49.81, 27.77, 226.59°)
OKLaboklab(55.96% -0.0726 -0.0564)
OKLCHoklch(55.96% 0.092 217.8)
XYZxyz(14.0804, 18.2571, 32.4815)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8198 #98361F
analogous
#1F9872 #1F8198 #1F4498
triadic
#1F8198 #981F81 #81981F
tetradic
#1F8198 #721F98 #98361F #44981F
square
#1F8198 #721F98 #98361F #44981F
split-complementary
#1F8198 #981F44 #98721F
monochromatic
#0A2B32 #155665 #1F8198 #29ACCB #55C3DC

Accessibility & contrast

On white

4.51
#1F8198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8198#FFFFFF#000000##000000
##1F81981.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8198;
/* rgb */ color: rgb(31, 129, 152);
/* oklch */ color: oklch(56.0% 0.092 217.8);
Tailwind
colors: {
  custom: {
    50: '#70a5b6',
    500: '#1f8198',
    950: '#000000',
  },
}
SCSS
$custom: #1f8198;
$custom-light: #70a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8198",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 152
  },
  "hsl": {
    "h": 191.405,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.09193,
    "h": 217.8
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#1F8198
secondary
#C06853
accent
#5F3FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #1F8198

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

Preview Lab → · Contrast checker → · Palette generator →

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