#1F8EA7#1F8EA7

#1F8EA7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 59.9% C 0.100 H 217.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1F8EA7
RGBrgb(31, 142, 167)
HSLhsl(191, 69%, 39%)
HSVhsv(191, 81%, 65%)
CMYKcmyk(81.4%, 15%, 0%, 34.5%)
CIE-LABlab(54.48, -20.90, -21.70)
CIE-LCHlch(54.48, 30.13, 226.07°)
OKLaboklab(59.91% -0.0793 -0.0607)
OKLCHoklch(59.91% 0.1 217.4)
XYZxyz(17.2101, 22.4252, 39.9732)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EA7 #A7381F
analogous
#1FA77C #1F8EA7 #1F4AA7
triadic
#1F8EA7 #A71F8E #8EA71F
tetradic
#1F8EA7 #7C1FA7 #A7381F #4AA71F
square
#1F8EA7 #7C1FA7 #A7381F #4AA71F
split-complementary
#1F8EA7 #A71F4A #A77C1F
monochromatic
#0C3640 #156273 #1F8EA7 #2BB8D8 #5FC9E1

Accessibility & contrast

On white

3.83
#1F8EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#1F8EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EA7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EA7#FFFFFF#000000##000000
##1F8EA71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8AA8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009796
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8ea7;
/* rgb */ color: rgb(31, 142, 167);
/* oklch */ color: oklch(59.9% 0.100 217.4);
Tailwind
colors: {
  custom: {
    50: '#73afc1',
    500: '#1f8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ea7;
$custom-light: #73afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ea7",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 191.029,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59914,
    "c": 0.09984,
    "h": 217.4
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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