#1F8ABC#1F8ABC

#1F8ABC is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.9% C 0.118 H 235.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F8ABC
RGBrgb(31, 138, 188)
HSLhsl(199, 72%, 43%)
HSVhsv(199, 84%, 74%)
CMYKcmyk(83.5%, 26.6%, 0%, 26.3%)
CIE-LABlab(54.13, -11.34, -34.25)
CIE-LCHlch(54.13, 36.08, 251.69°)
OKLaboklab(59.93% -0.0676 -0.0968)
OKLCHoklch(59.93% 0.118 235.1)
XYZxyz(18.7270, 22.0967, 50.8453)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8ABC #BC511F
analogous
#1FBC9F #1F8ABC #1F3CBC
triadic
#1F8ABC #BC1F8A #8ABC1F
tetradic
#1F8ABC #9F1FBC #BC511F #3CBC1F
square
#1F8ABC #9F1FBC #BC511F #3CBC1F
split-complementary
#1F8ABC #BC1F3C #BC9F1F
monochromatic
#0E3D53 #166387 #1F8ABC #3AAADE #6EC1E7

Accessibility & contrast

On white

3.87
#1F8ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#1F8ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8ABC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8ABC#FFFFFF#000000##000000
##1F8ABC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8abc;
/* rgb */ color: rgb(31, 138, 188);
/* oklch */ color: oklch(59.9% 0.118 235.1);
Tailwind
colors: {
  custom: {
    50: '#77acd0',
    500: '#1f8abc',
    950: '#000000',
  },
}
SCSS
$custom: #1f8abc;
$custom-light: #77acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8abc",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 199.108,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.11809,
    "h": 235.1
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#1F8ABC
secondary
#CD8969
accent
#7339EE
background
#F7FAFC
surface
#EEF4F9
border
#C9CED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #1F8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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