#1F8CBC#1F8CBC

#1F8CBC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.117 H 233.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F8CBC
RGBrgb(31, 140, 188)
HSLhsl(198, 72%, 43%)
HSVhsv(198, 84%, 74%)
CMYKcmyk(83.5%, 25.5%, 0%, 26.3%)
CIE-LABlab(54.74, -12.46, -33.30)
CIE-LCHlch(54.74, 35.56, 249.48°)
OKLaboklab(60.41% -0.0694 -0.094)
OKLCHoklch(60.41% 0.117 233.6)
XYZxyz(19.0166, 22.6759, 50.9418)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CBC #BC4F1F
analogous
#1FBC9D #1F8CBC #1F3DBC
triadic
#1F8CBC #BC1F8C #8CBC1F
tetradic
#1F8CBC #9D1FBC #BC4F1F #3DBC1F
square
#1F8CBC #9D1FBC #BC4F1F #3DBC1F
split-complementary
#1F8CBC #BC1F3D #BC9D1F
monochromatic
#0E3E53 #166587 #1F8CBC #3AACDE #6EC2E7

Accessibility & contrast

On white

3.79
#1F8CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#1F8CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CBC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CBC#FFFFFF#000000##000000
##1F8CBC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBE
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8cbc;
/* rgb */ color: rgb(31, 140, 188);
/* oklch */ color: oklch(60.4% 0.117 233.6);
Tailwind
colors: {
  custom: {
    50: '#77add0',
    500: '#1f8cbc',
    950: '#000000',
  },
}
SCSS
$custom: #1f8cbc;
$custom-light: #77add0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8cbc",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 188
  },
  "hsl": {
    "h": 198.344,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.11691,
    "h": 233.6
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#1F8CBC
secondary
#CD8869
accent
#7139EE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #1F8CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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