#1F8AA4#1F8AA4

#1F8AA4 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.8% C 0.098 H 218.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F8AA4
RGBrgb(31, 138, 164)
HSLhsl(192, 68%, 38%)
HSVhsv(192, 81%, 64%)
CMYKcmyk(81.1%, 15.9%, 0%, 35.7%)
CIE-LABlab(53.11, -19.80, -22.07)
CIE-LCHlch(53.11, 29.65, 228.10°)
OKLaboklab(58.78% -0.0766 -0.0617)
OKLCHoklch(58.78% 0.098 218.9)
XYZxyz(16.3515, 21.1466, 38.3347)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8AA4 #A4391F
analogous
#1FA47B #1F8AA4 #1F48A4
triadic
#1F8AA4 #A41F8A #8AA41F
tetradic
#1F8AA4 #7B1FA4 #A4391F #48A41F
square
#1F8AA4 #7B1FA4 #A4391F #48A41F
split-complementary
#1F8AA4 #A41F48 #A47B1F
monochromatic
#0C333D #155F71 #1F8AA4 #2AB5D7 #5DC7E0

Accessibility & contrast

On white

4.02
#1F8AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#1F8AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8AA4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8AA4#FFFFFF#000000##000000
##1F8AA41.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A5
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#009392
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f8aa4;
/* rgb */ color: rgb(31, 138, 164);
/* oklch */ color: oklch(58.8% 0.098 218.9);
Tailwind
colors: {
  custom: {
    50: '#73acbf',
    500: '#1f8aa4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8aa4;
$custom-light: #73acbf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8aa4",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 164
  },
  "hsl": {
    "h": 191.729,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.09839,
    "h": 218.9
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#1F8AA4
secondary
#C56F5A
accent
#5F3DEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F8AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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