#1F8CB2#1F8CB2

#1F8CB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.9% C 0.108 H 227.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F8CB2
RGBrgb(31, 140, 178)
HSLhsl(196, 70%, 41%)
HSVhsv(196, 83%, 70%)
CMYKcmyk(82.6%, 21.3%, 0%, 30.2%)
CIE-LABlab(54.30, -16.02, -28.27)
CIE-LCHlch(54.30, 32.50, 240.46°)
OKLaboklab(59.92% -0.0731 -0.0795)
OKLCHoklch(59.92% 0.108 227.4)
XYZxyz(17.9757, 22.2596, 45.4600)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CB2 #B2451F
analogous
#1FB28E #1F8CB2 #1F42B2
triadic
#1F8CB2 #B21F8C #8CB21F
tetradic
#1F8CB2 #8E1FB2 #B2451F #42B21F
square
#1F8CB2 #8E1FB2 #B2451F #42B21F
split-complementary
#1F8CB2 #B21F42 #B28E1F
monochromatic
#0D3A4A #16637E #1F8CB2 #33B0DB #67C4E5

Accessibility & contrast

On white

3.85
#1F8CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#1F8CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CB2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CB2#FFFFFF#000000##000000
##1F8CB21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B4
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8cb2;
/* rgb */ color: rgb(31, 140, 178);
/* oklch */ color: oklch(59.9% 0.108 227.4);
Tailwind
colors: {
  custom: {
    50: '#75adc9',
    500: '#1f8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #1f8cb2;
$custom-light: #75adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8cb2",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 195.51,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.10799,
    "h": 227.4
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#1F8CB2
secondary
#CA7E63
accent
#693BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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