#1F8FA8#1F8FA8

#1F8FA8 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.2% C 0.100 H 217.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F8FA8
RGBrgb(31, 143, 168)
HSLhsl(191, 69%, 39%)
HSVhsv(191, 82%, 66%)
CMYKcmyk(81.5%, 14.9%, 0%, 34.1%)
CIE-LABlab(54.83, -21.09, -21.73)
CIE-LCHlch(54.83, 30.29, 225.86°)
OKLaboklab(60.21% -0.0799 -0.0608)
OKLCHoklch(60.21% 0.1 217.3)
XYZxyz(17.4524, 22.7612, 40.5117)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FA8 #A8381F
analogous
#1FA87D #1F8FA8 #1F4BA8
triadic
#1F8FA8 #A81F8F #8FA81F
tetradic
#1F8FA8 #7D1FA8 #A8381F #4BA81F
square
#1F8FA8 #7D1FA8 #A8381F #4BA81F
split-complementary
#1F8FA8 #A81F4B #A87D1F
monochromatic
#0C3741 #156374 #1F8FA8 #2CB9D8 #60CAE2

Accessibility & contrast

On white

3.78
#1F8FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#1F8FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FA8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FA8#FFFFFF#000000##000000
##1F8FA81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BA9
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#009897
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8fa8;
/* rgb */ color: rgb(31, 143, 168);
/* oklch */ color: oklch(60.2% 0.100 217.3);
Tailwind
colors: {
  custom: {
    50: '#74b0c2',
    500: '#1f8fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fa8;
$custom-light: #74b0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fa8",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 190.949,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60209,
    "c": 0.10036,
    "h": 217.3
  },
  "luminance": 0.22763
}

Semantic roles & 50–950 ramp

primary
#1F8FA8
secondary
#C6705D
accent
#5C3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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