#1F8CB4#1F8CB4

#1F8CB4 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.0% C 0.110 H 228.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1F8CB4
RGBrgb(31, 140, 180)
HSLhsl(196, 71%, 41%)
HSVhsv(196, 83%, 71%)
CMYKcmyk(82.8%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.39, -15.31, -29.28)
CIE-LCHlch(54.39, 33.05, 242.39°)
OKLaboklab(60.02% -0.0723 -0.0824)
OKLCHoklch(60.02% 0.11 228.7)
XYZxyz(18.1780, 22.3405, 46.5252)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8CB4 #B4471F
analogous
#1FB492 #1F8CB4 #1F42B4
triadic
#1F8CB4 #B41F8C #8CB41F
tetradic
#1F8CB4 #921FB4 #B4471F #42B41F
square
#1F8CB4 #921FB4 #B4471F #42B41F
split-complementary
#1F8CB4 #B41F42 #B4921F
monochromatic
#0D3B4C #166380 #1F8CB4 #34AFDC #68C4E5

Accessibility & contrast

On white

3.84
#1F8CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#1F8CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8CB4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8CB4#FFFFFF#000000##000000
##1F8CB41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8cb4;
/* rgb */ color: rgb(31, 140, 180);
/* oklch */ color: oklch(60.0% 0.110 228.7);
Tailwind
colors: {
  custom: {
    50: '#75adca',
    500: '#1f8cb4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8cb4;
$custom-light: #75adca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8cb4",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 196.107,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.10965,
    "h": 228.7
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#1F8CB4
secondary
#CB8064
accent
#6A3AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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