#1F8CA4#1F8CA4

#1F8CA4 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.3% C 0.098 H 216.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F8CA4
RGBrgb(31, 140, 164)
HSLhsl(191, 68%, 38%)
HSVhsv(191, 81%, 64%)
CMYKcmyk(81.1%, 14.6%, 0%, 35.7%)
CIE-LABlab(53.73, -20.86, -21.11)
CIE-LCHlch(53.73, 29.68, 225.33°)
OKLaboklab(59.28% -0.0786 -0.059)
OKLCHoklch(59.28% 0.098 216.9)
XYZxyz(16.6411, 21.7257, 38.4312)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CA4 #A4371F
analogous
#1FA479 #1F8CA4 #1F49A4
triadic
#1F8CA4 #A41F8C #8CA41F
tetradic
#1F8CA4 #791FA4 #A4371F #49A41F
square
#1F8CA4 #791FA4 #A4371F #49A41F
split-complementary
#1F8CA4 #A41F49 #A4791F
monochromatic
#0C343D #156071 #1F8CA4 #2AB7D7 #5DC9E0

Accessibility & contrast

On white

3.93
#1F8CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#1F8CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CA4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CA4#FFFFFF#000000##000000
##1F8CA41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A5
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f8ca4;
/* rgb */ color: rgb(31, 140, 164);
/* oklch */ color: oklch(59.3% 0.098 216.9);
Tailwind
colors: {
  custom: {
    50: '#73adbf',
    500: '#1f8ca4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ca4;
$custom-light: #73adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ca4",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 164
  },
  "hsl": {
    "h": 190.827,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.09825,
    "h": 216.9
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#1F8CA4
secondary
#C56D5A
accent
#5C3DEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F8CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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