#1F8EBC#1F8EBC

#1F8EBC is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.116 H 232.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8EBC
RGBrgb(31, 142, 188)
HSLhsl(198, 72%, 43%)
HSVhsv(198, 84%, 74%)
CMYKcmyk(83.5%, 24.5%, 0%, 26.3%)
CIE-LABlab(55.34, -13.58, -32.35)
CIE-LCHlch(55.34, 35.09, 247.23°)
OKLaboklab(60.9% -0.0713 -0.0913)
OKLCHoklch(60.9% 0.116 232)
XYZxyz(19.3115, 23.2657, 51.0401)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EBC #BC4D1F
analogous
#1FBC9C #1F8EBC #1F3FBC
triadic
#1F8EBC #BC1F8E #8EBC1F
tetradic
#1F8EBC #9C1FBC #BC4D1F #3FBC1F
square
#1F8EBC #9C1FBC #BC4D1F #3FBC1F
split-complementary
#1F8EBC #BC1F3F #BC9C1F
monochromatic
#0E3F53 #166687 #1F8EBC #3AAEDE #6EC4E7

Accessibility & contrast

On white

3.71
#1F8EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#1F8EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EBC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EBC#FFFFFF#000000##000000
##1F8EBC1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBE
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#009A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f8ebc;
/* rgb */ color: rgb(31, 142, 188);
/* oklch */ color: oklch(60.9% 0.116 232.0);
Tailwind
colors: {
  custom: {
    50: '#77afd0',
    500: '#1f8ebc',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ebc;
$custom-light: #77afd0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ebc",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 197.58,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.11581,
    "h": 232
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#1F8EBC
secondary
#CD8769
accent
#6E39EE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1014
muted
#7C7F82

Preview Lab

Preview with #1F8EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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