#1F8BAD#1F8BAD

#1F8BAD is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.4% C 0.104 H 224.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#1F8BAD
RGBrgb(31, 139, 173)
HSLhsl(194, 70%, 40%)
HSVhsv(194, 82%, 68%)
CMYKcmyk(82.1%, 19.7%, 0%, 32.2%)
CIE-LABlab(53.78, -17.23, -26.21)
CIE-LCHlch(53.78, 31.36, 236.68°)
OKLaboklab(59.44% -0.074 -0.0736)
OKLCHoklch(59.44% 0.104 224.8)
XYZxyz(17.3374, 21.7715, 42.8156)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8BAD #AD411F
analogous
#1FAD88 #1F8BAD #1F44AD
triadic
#1F8BAD #AD1F8B #8BAD1F
tetradic
#1F8BAD #881FAD #AD411F #44AD1F
square
#1F8BAD #881FAD #AD411F #44AD1F
split-complementary
#1F8BAD #AD1F44 #AD881F
monochromatic
#0C3845 #166179 #1F8BAD #2FB1DA #63C5E3

Accessibility & contrast

On white

3.92
#1F8BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#1F8BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8BAD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8BAD#FFFFFF#000000##000000
##1F8BAD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AF
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8bad;
/* rgb */ color: rgb(31, 139, 173);
/* oklch */ color: oklch(59.4% 0.104 224.8);
Tailwind
colors: {
  custom: {
    50: '#74adc5',
    500: '#1f8bad',
    950: '#000000',
  },
}
SCSS
$custom: #1f8bad;
$custom-light: #74adc5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8bad",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 173
  },
  "hsl": {
    "h": 194.366,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.10436,
    "h": 224.8
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#1F8BAD
secondary
#C87960
accent
#663BEC
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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