#1F8FBC#1F8FBC

#1F8FBC is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.1% C 0.115 H 231.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#1F8FBC
RGBrgb(31, 143, 188)
HSLhsl(197, 72%, 43%)
HSVhsv(197, 84%, 74%)
CMYKcmyk(83.5%, 23.9%, 0%, 26.3%)
CIE-LABlab(55.65, -14.13, -31.88)
CIE-LCHlch(55.65, 34.87, 246.09°)
OKLaboklab(61.14% -0.0722 -0.0899)
OKLCHoklch(61.14% 0.115 231.2)
XYZxyz(19.4609, 23.5646, 51.0899)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8FBC #BC4C1F
analogous
#1FBC9A #1F8FBC #1F41BC
triadic
#1F8FBC #BC1F8F #8FBC1F
tetradic
#1F8FBC #9A1FBC #BC4C1F #41BC1F
square
#1F8FBC #9A1FBC #BC4C1F #41BC1F
split-complementary
#1F8FBC #BC1F41 #BC9A1F
monochromatic
#0E3F53 #166787 #1F8FBC #3AAFDE #6EC4E7

Accessibility & contrast

On white

3.68
#1F8FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#1F8FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8FBC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8FBC#FFFFFF#000000##000000
##1F8FBC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBE
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#009B9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f8fbc;
/* rgb */ color: rgb(31, 143, 188);
/* oklch */ color: oklch(61.1% 0.115 231.2);
Tailwind
colors: {
  custom: {
    50: '#77afd0',
    500: '#1f8fbc',
    950: '#000000',
  },
}
SCSS
$custom: #1f8fbc;
$custom-light: #77afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8fbc",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 197.197,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.1153,
    "h": 231.2
  },
  "luminance": 0.23567
}

Semantic roles & 50–950 ramp

primary
#1F8FBC
secondary
#CD8669
accent
#6D39EE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #1F8FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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