#1F8CA7#1F8CA7

#1F8CA7 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.4% C 0.100 H 219.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F8CA7
RGBrgb(31, 140, 167)
HSLhsl(192, 69%, 39%)
HSVhsv(192, 81%, 65%)
CMYKcmyk(81.4%, 16.2%, 0%, 34.5%)
CIE-LABlab(53.85, -19.84, -22.66)
CIE-LCHlch(53.85, 30.12, 228.79°)
OKLaboklab(59.41% -0.0773 -0.0634)
OKLCHoklch(59.41% 0.1 219.3)
XYZxyz(16.9152, 21.8354, 39.8749)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CA7 #A73A1F
analogous
#1FA77E #1F8CA7 #1F48A7
triadic
#1F8CA7 #A71F8C #8CA71F
tetradic
#1F8CA7 #7E1FA7 #A73A1F #48A71F
square
#1F8CA7 #7E1FA7 #A73A1F #48A71F
split-complementary
#1F8CA7 #A71F48 #A77E1F
monochromatic
#0C3540 #156173 #1F8CA7 #2BB6D8 #5FC7E1

Accessibility & contrast

On white

3.91
#1F8CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#1F8CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CA7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CA7#FFFFFF#000000##000000
##1F8CA71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A8
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8ca7;
/* rgb */ color: rgb(31, 140, 167);
/* oklch */ color: oklch(59.4% 0.100 219.3);
Tailwind
colors: {
  custom: {
    50: '#73adc1',
    500: '#1f8ca7',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ca7;
$custom-light: #73adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ca7",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 191.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.10001,
    "h": 219.3
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#1F8CA7
secondary
#C6715C
accent
#5F3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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