#1F89A8#1F89A8

#1F89A8 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.7% C 0.101 H 223.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F89A8
RGBrgb(31, 137, 168)
HSLhsl(194, 69%, 39%)
HSVhsv(194, 82%, 66%)
CMYKcmyk(81.5%, 18.5%, 0%, 34.1%)
CIE-LABlab(52.96, -17.88, -24.61)
CIE-LCHlch(52.96, 30.42, 233.99°)
OKLaboklab(58.71% -0.074 -0.069)
OKLCHoklch(58.71% 0.101 223)
XYZxyz(16.5756, 21.0077, 40.2195)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F89A8 #A83E1F
analogous
#1FA883 #1F89A8 #1F44A8
triadic
#1F89A8 #A81F89 #89A81F
tetradic
#1F89A8 #831FA8 #A83E1F #44A81F
square
#1F89A8 #831FA8 #A83E1F #44A81F
split-complementary
#1F89A8 #A81F44 #A8831F
monochromatic
#0C3541 #155F74 #1F89A8 #2CB1D8 #60C4E2

Accessibility & contrast

On white

4.04
#1F89A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#1F89A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F89A8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F89A8#FFFFFF#000000##000000
##1F89A81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AA
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#009293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f89a8;
/* rgb */ color: rgb(31, 137, 168);
/* oklch */ color: oklch(58.7% 0.101 223.0);
Tailwind
colors: {
  custom: {
    50: '#73abc2',
    500: '#1f89a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f89a8;
$custom-light: #73abc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f89a8",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 168
  },
  "hsl": {
    "h": 193.577,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.10121,
    "h": 223
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#1F89A8
secondary
#C6745D
accent
#643CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F89A8

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

Preview Lab → · Contrast checker → · Palette generator →

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