#1F8AB4#1F8AB4

#1F8AB4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.111 H 230.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F8AB4
RGBrgb(31, 138, 180)
HSLhsl(197, 71%, 41%)
HSVhsv(197, 83%, 71%)
CMYKcmyk(82.8%, 23.3%, 0%, 29.4%)
CIE-LABlab(53.77, -14.21, -30.24)
CIE-LCHlch(53.77, 33.41, 244.83°)
OKLaboklab(59.53% -0.0704 -0.0852)
OKLCHoklch(59.53% 0.111 230.4)
XYZxyz(17.8884, 21.7613, 46.4287)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8AB4 #B4491F
analogous
#1FB494 #1F8AB4 #1F40B4
triadic
#1F8AB4 #B41F8A #8AB41F
tetradic
#1F8AB4 #941FB4 #B4491F #40B41F
square
#1F8AB4 #941FB4 #B4491F #40B41F
split-complementary
#1F8AB4 #B41F40 #B4941F
monochromatic
#0D3A4C #166280 #1F8AB4 #34ADDC #68C2E5

Accessibility & contrast

On white

3.92
#1F8AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8AB4#FFFFFF#000000##000000
##1F8AB41.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B6
Deuteranopia (green-blind)
#617BB3
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f8ab4;
/* rgb */ color: rgb(31, 138, 180);
/* oklch */ color: oklch(59.5% 0.111 230.4);
Tailwind
colors: {
  custom: {
    50: '#75acca',
    500: '#1f8ab4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ab4;
$custom-light: #75acca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ab4",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 196.913,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.11055,
    "h": 230.4
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#1F8AB4
secondary
#CB8164
accent
#6D3AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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