#1F8DB1#1F8DB1

#1F8DB1 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.1% C 0.107 H 225.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F8DB1
RGBrgb(31, 141, 177)
HSLhsl(195, 70%, 41%)
HSVhsv(195, 82%, 69%)
CMYKcmyk(82.5%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.57, -16.92, -27.29)
CIE-LCHlch(54.57, 32.11, 238.20°)
OKLaboklab(60.12% -0.0744 -0.0767)
OKLCHoklch(60.12% 0.107 225.9)
XYZxyz(18.0225, 22.5131, 44.9820)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8DB1 #B1431F
analogous
#1FB18C #1F8DB1 #1F44B1
triadic
#1F8DB1 #B11F8D #8DB11F
tetradic
#1F8DB1 #8C1FB1 #B1431F #44B11F
square
#1F8DB1 #8C1FB1 #B1431F #44B11F
split-complementary
#1F8DB1 #B11F44 #B18C1F
monochromatic
#0D3A49 #16647D #1F8DB1 #32B1DB #66C5E4

Accessibility & contrast

On white

3.82
#1F8DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#1F8DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8DB1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8DB1#FFFFFF#000000##000000
##1F8DB11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB3
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8db1;
/* rgb */ color: rgb(31, 141, 177);
/* oklch */ color: oklch(60.1% 0.107 225.9);
Tailwind
colors: {
  custom: {
    50: '#75aec8',
    500: '#1f8db1',
    950: '#000000',
  },
}
SCSS
$custom: #1f8db1;
$custom-light: #75aec8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8db1",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 194.795,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60121,
    "c": 0.10683,
    "h": 225.9
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#1F8DB1
secondary
#CA7C62
accent
#673BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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