#1F8CAF#1F8CAF

#1F8CAF is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.106 H 225.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1F8CAF
RGBrgb(31, 140, 175)
HSLhsl(195, 70%, 40%)
HSVhsv(195, 82%, 69%)
CMYKcmyk(82.3%, 20%, 0%, 31.4%)
CIE-LABlab(54.18, -17.07, -26.75)
CIE-LCHlch(54.18, 31.73, 237.45°)
OKLaboklab(59.78% -0.0742 -0.0751)
OKLCHoklch(59.78% 0.106 225.4)
XYZxyz(17.6778, 22.1404, 43.8909)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CAF #AF421F
analogous
#1FAF8A #1F8CAF #1F44AF
triadic
#1F8CAF #AF1F8C #8CAF1F
tetradic
#1F8CAF #8A1FAF #AF421F #44AF1F
square
#1F8CAF #8A1FAF #AF421F #44AF1F
split-complementary
#1F8CAF #AF1F44 #AF8A1F
monochromatic
#0D3947 #16627B #1F8CAF #31B1DA #65C5E4

Accessibility & contrast

On white

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

On black

5.43
#1F8CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CAF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CAF#FFFFFF#000000##000000
##1F8CAF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8caf;
/* rgb */ color: rgb(31, 140, 175);
/* oklch */ color: oklch(59.8% 0.106 225.4);
Tailwind
colors: {
  custom: {
    50: '#75adc7',
    500: '#1f8caf',
    950: '#000000',
  },
}
SCSS
$custom: #1f8caf;
$custom-light: #75adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8caf",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 194.583,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.10559,
    "h": 225.4
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#1F8CAF
secondary
#C97A61
accent
#663BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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