#1F8AA1#1F8AA1

#1F8AA1 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.6% C 0.097 H 216.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F8AA1
RGBrgb(31, 138, 161)
HSLhsl(191, 68%, 38%)
HSVhsv(191, 81%, 63%)
CMYKcmyk(80.7%, 14.3%, 0%, 36.9%)
CIE-LABlab(52.99, -20.82, -20.52)
CIE-LCHlch(52.99, 29.23, 224.58°)
OKLaboklab(58.64% -0.0778 -0.0573)
OKLCHoklch(58.64% 0.097 216.4)
XYZxyz(16.0838, 21.0395, 36.9246)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8AA1 #A1361F
analogous
#1FA177 #1F8AA1 #1F49A1
triadic
#1F8AA1 #A11F8A #8AA11F
tetradic
#1F8AA1 #771FA1 #A1361F #49A11F
square
#1F8AA1 #771FA1 #A1361F #49A11F
split-complementary
#1F8AA1 #A11F49 #A1771F
monochromatic
#0B323A #155E6E #1F8AA1 #29B6D4 #5BC8DF

Accessibility & contrast

On white

4.03
#1F8AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#1F8AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8AA1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8AA1#FFFFFF#000000##000000
##1F8AA11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A2
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#009291
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8aa1;
/* rgb */ color: rgb(31, 138, 161);
/* oklch */ color: oklch(58.6% 0.097 216.4);
Tailwind
colors: {
  custom: {
    50: '#72acbc',
    500: '#1f8aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1f8aa1;
$custom-light: #72acbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8aa1",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 161
  },
  "hsl": {
    "h": 190.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.09667,
    "h": 216.4
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#1F8AA1
secondary
#C46B58
accent
#5C3DEB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F8AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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