#1F8BB4#1F8BB4

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

Color values

HEX#1F8BB4
RGBrgb(31, 139, 180)
HSLhsl(197, 71%, 41%)
HSVhsv(197, 83%, 71%)
CMYKcmyk(82.8%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.08, -14.76, -29.76)
CIE-LCHlch(54.08, 33.22, 243.62°)
OKLaboklab(59.77% -0.0714 -0.0838)
OKLCHoklch(59.77% 0.11 229.6)
XYZxyz(18.0325, 22.0496, 46.4768)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8BB4 #B4481F
analogous
#1FB493 #1F8BB4 #1F41B4
triadic
#1F8BB4 #B41F8B #8BB41F
tetradic
#1F8BB4 #931FB4 #B4481F #41B41F
square
#1F8BB4 #931FB4 #B4481F #41B41F
split-complementary
#1F8BB4 #B41F41 #B4931F
monochromatic
#0D3A4C #166380 #1F8BB4 #34AEDC #68C3E5

Accessibility & contrast

On white

3.88
#1F8BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#1F8BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8BB4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8BB4#FFFFFF#000000##000000
##1F8BB41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#627BB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8bb4;
/* rgb */ color: rgb(31, 139, 180);
/* oklch */ color: oklch(59.8% 0.110 229.6);
Tailwind
colors: {
  custom: {
    50: '#75adca',
    500: '#1f8bb4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8bb4;
$custom-light: #75adca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8bb4",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 196.51,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.11009,
    "h": 229.6
  },
  "luminance": 0.22052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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