#1F88AB#1F88AB

#1F88AB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.104 H 226.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F88AB
RGBrgb(31, 136, 171)
HSLhsl(195, 69%, 40%)
HSVhsv(195, 82%, 67%)
CMYKcmyk(81.9%, 20.5%, 0%, 32.9%)
CIE-LABlab(52.77, -16.29, -26.62)
CIE-LCHlch(52.77, 31.21, 238.54°)
OKLaboklab(58.6% -0.0719 -0.0748)
OKLCHoklch(58.6% 0.104 226.1)
XYZxyz(16.7169, 20.8378, 41.6612)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F88AB #AB421F
analogous
#1FAB88 #1F88AB #1F42AB
triadic
#1F88AB #AB1F88 #88AB1F
tetradic
#1F88AB #881FAB #AB421F #42AB1F
square
#1F88AB #881FAB #AB421F #42AB1F
split-complementary
#1F88AB #AB1F42 #AB881F
monochromatic
#0C3643 #165F77 #1F88AB #2EAED9 #62C2E3

Accessibility & contrast

On white

4.06
#1F88AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#1F88AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F88AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F88AB#FFFFFF#000000##000000
##1F88AB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f88ab;
/* rgb */ color: rgb(31, 136, 171);
/* oklch */ color: oklch(58.6% 0.104 226.1);
Tailwind
colors: {
  custom: {
    50: '#74aac4',
    500: '#1f88ab',
    950: '#000000',
  },
}
SCSS
$custom: #1f88ab;
$custom-light: #74aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f88ab",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 171
  },
  "hsl": {
    "h": 195,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58599,
    "c": 0.10376,
    "h": 226.1
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#1F88AB
secondary
#C7795E
accent
#683CEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #1F88AB

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

Preview Lab → · Contrast checker → · Palette generator →

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