#1F8BA4#1F8BA4

#1F8BA4 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.0% C 0.098 H 217.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F8BA4
RGBrgb(31, 139, 164)
HSLhsl(191, 68%, 38%)
HSVhsv(191, 81%, 64%)
CMYKcmyk(81.1%, 15.2%, 0%, 35.7%)
CIE-LABlab(53.42, -20.33, -21.59)
CIE-LCHlch(53.42, 29.66, 226.72°)
OKLaboklab(59.03% -0.0776 -0.0604)
OKLCHoklch(59.03% 0.098 217.9)
XYZxyz(16.4957, 21.4348, 38.3827)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8BA4 #A4381F
analogous
#1FA47A #1F8BA4 #1F48A4
triadic
#1F8BA4 #A41F8B #8BA41F
tetradic
#1F8BA4 #7A1FA4 #A4381F #48A41F
square
#1F8BA4 #7A1FA4 #A4381F #48A41F
split-complementary
#1F8BA4 #A41F48 #A47A1F
monochromatic
#0C343D #155F71 #1F8BA4 #2AB6D7 #5DC8E0

Accessibility & contrast

On white

3.97
#1F8BA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#1F8BA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8BA4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8BA4#FFFFFF#000000##000000
##1F8BA41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B87A5
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#009493
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f8ba4;
/* rgb */ color: rgb(31, 139, 164);
/* oklch */ color: oklch(59.0% 0.098 217.9);
Tailwind
colors: {
  custom: {
    50: '#73adbf',
    500: '#1f8ba4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ba4;
$custom-light: #73adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ba4",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 164
  },
  "hsl": {
    "h": 191.278,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.09831,
    "h": 217.9
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#1F8BA4
secondary
#C56E5A
accent
#5E3DEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F8BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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