#1F8CA8#1F8CA8

#1F8CA8 is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.5% C 0.101 H 220.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F8CA8
RGBrgb(31, 140, 168)
HSLhsl(192, 69%, 39%)
HSVhsv(192, 82%, 66%)
CMYKcmyk(81.5%, 16.7%, 0%, 34.1%)
CIE-LABlab(53.89, -19.50, -23.17)
CIE-LCHlch(53.89, 30.28, 229.92°)
OKLaboklab(59.46% -0.0769 -0.0649)
OKLCHoklch(59.46% 0.101 220.1)
XYZxyz(17.0080, 21.8725, 40.3636)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CA8 #A83B1F
analogous
#1FA880 #1F8CA8 #1F48A8
triadic
#1F8CA8 #A81F8C #8CA81F
tetradic
#1F8CA8 #801FA8 #A83B1F #48A81F
square
#1F8CA8 #801FA8 #A83B1F #48A81F
split-complementary
#1F8CA8 #A81F48 #A8801F
monochromatic
#0C3641 #156174 #1F8CA8 #2CB5D8 #60C7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8CA8#FFFFFF#000000##000000
##1F8CA81.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)
#7B88A9
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#009595
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8ca8;
/* rgb */ color: rgb(31, 140, 168);
/* oklch */ color: oklch(59.5% 0.101 220.1);
Tailwind
colors: {
  custom: {
    50: '#73adc2',
    500: '#1f8ca8',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ca8;
$custom-light: #73adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ca8",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 168
  },
  "hsl": {
    "h": 192.263,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59457,
    "c": 0.10064,
    "h": 220.1
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#1F8CA8
secondary
#C6725D
accent
#603CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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