#1F8BB2#1F8BB2

#1F8BB2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.108 H 228.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F8BB2
RGBrgb(31, 139, 178)
HSLhsl(196, 70%, 41%)
HSVhsv(196, 83%, 70%)
CMYKcmyk(82.6%, 21.9%, 0%, 30.2%)
CIE-LABlab(53.99, -15.47, -28.75)
CIE-LCHlch(53.99, 32.65, 241.71°)
OKLaboklab(59.68% -0.0721 -0.0809)
OKLCHoklch(59.68% 0.108 228.3)
XYZxyz(17.8303, 21.9686, 45.4115)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8BB2 #B2461F
analogous
#1FB28F #1F8BB2 #1F42B2
triadic
#1F8BB2 #B21F8B #8BB21F
tetradic
#1F8BB2 #8F1FB2 #B2461F #42B21F
square
#1F8BB2 #8F1FB2 #B2461F #42B21F
split-complementary
#1F8BB2 #B21F42 #B28F1F
monochromatic
#0D3A4A #16627E #1F8BB2 #33AFDB #67C3E5

Accessibility & contrast

On white

3.89
#1F8BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#1F8BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8BB2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8BB2#FFFFFF#000000##000000
##1F8BB21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B4
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f8bb2;
/* rgb */ color: rgb(31, 139, 178);
/* oklch */ color: oklch(59.7% 0.108 228.3);
Tailwind
colors: {
  custom: {
    50: '#75adc9',
    500: '#1f8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #1f8bb2;
$custom-light: #75adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8bb2",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 195.918,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.10837,
    "h": 228.3
  },
  "luminance": 0.21971
}

Semantic roles & 50–950 ramp

primary
#1F8BB2
secondary
#CA7E63
accent
#6A3BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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