#1F8EB2#1F8EB2

#1F8EB2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.4% C 0.107 H 225.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F8EB2
RGBrgb(31, 142, 178)
HSLhsl(195, 70%, 41%)
HSVhsv(195, 83%, 70%)
CMYKcmyk(82.6%, 20.2%, 0%, 30.2%)
CIE-LABlab(54.92, -17.11, -27.32)
CIE-LCHlch(54.92, 32.24, 237.94°)
OKLaboklab(60.42% -0.075 -0.0767)
OKLCHoklch(60.42% 0.107 225.7)
XYZxyz(18.2706, 22.8494, 45.5583)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EB2 #B2431F
analogous
#1FB28C #1F8EB2 #1F44B2
triadic
#1F8EB2 #B21F8E #8EB21F
tetradic
#1F8EB2 #8C1FB2 #B2431F #44B21F
square
#1F8EB2 #8C1FB2 #B2431F #44B21F
split-complementary
#1F8EB2 #B21F44 #B28C1F
monochromatic
#0D3B4A #16647E #1F8EB2 #33B2DB #67C6E5

Accessibility & contrast

On white

3.77
#1F8EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1F8EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EB2#FFFFFF#000000##000000
##1F8EB21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8eb2;
/* rgb */ color: rgb(31, 142, 178);
/* oklch */ color: oklch(60.4% 0.107 225.7);
Tailwind
colors: {
  custom: {
    50: '#75afc9',
    500: '#1f8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #1f8eb2;
$custom-light: #75afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8eb2",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 194.694,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.10728,
    "h": 225.7
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#1F8EB2
secondary
#CA7C63
accent
#663BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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