#1F8EA8#1F8EA8

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

Color values

HEX#1F8EA8
RGBrgb(31, 142, 168)
HSLhsl(191, 69%, 39%)
HSVhsv(191, 82%, 66%)
CMYKcmyk(81.5%, 15.5%, 0%, 34.1%)
CIE-LABlab(54.51, -20.56, -22.21)
CIE-LCHlch(54.51, 30.27, 227.21°)
OKLaboklab(59.96% -0.0789 -0.0621)
OKLCHoklch(59.96% 0.1 218.2)
XYZxyz(17.3029, 22.4623, 40.4619)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EA8 #A8391F
analogous
#1FA87E #1F8EA8 #1F4AA8
triadic
#1F8EA8 #A81F8E #8EA81F
tetradic
#1F8EA8 #7E1FA8 #A8391F #4AA81F
square
#1F8EA8 #7E1FA8 #A8391F #4AA81F
split-complementary
#1F8EA8 #A81F4A #A87E1F
monochromatic
#0C3741 #156274 #1F8EA8 #2CB7D8 #60C9E2

Accessibility & contrast

On white

3.82
#1F8EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8EA8#FFFFFF#000000##000000
##1F8EA81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8ea8;
/* rgb */ color: rgb(31, 142, 168);
/* oklch */ color: oklch(60.0% 0.100 218.2);
Tailwind
colors: {
  custom: {
    50: '#74afc2',
    500: '#1f8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ea8;
$custom-light: #74afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ea8",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 191.387,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.10042,
    "h": 218.2
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#1F8EA8
secondary
#C6715D
accent
#5D3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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