#1F8DB2#1F8DB2

#1F8DB2 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.2% C 0.108 H 226.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F8DB2
RGBrgb(31, 141, 178)
HSLhsl(195, 70%, 41%)
HSVhsv(195, 83%, 70%)
CMYKcmyk(82.6%, 20.8%, 0%, 30.2%)
CIE-LABlab(54.61, -16.57, -27.80)
CIE-LCHlch(54.61, 32.36, 239.20°)
OKLaboklab(60.17% -0.074 -0.0781)
OKLCHoklch(60.17% 0.108 226.6)
XYZxyz(18.1225, 22.5531, 45.5089)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8DB2 #B2441F
analogous
#1FB28D #1F8DB2 #1F43B2
triadic
#1F8DB2 #B21F8D #8DB21F
tetradic
#1F8DB2 #8D1FB2 #B2441F #43B21F
square
#1F8DB2 #8D1FB2 #B2441F #43B21F
split-complementary
#1F8DB2 #B21F43 #B28D1F
monochromatic
#0D3A4A #16647E #1F8DB2 #33B1DB #67C5E5

Accessibility & contrast

On white

3.81
#1F8DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F8DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8DB2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8DB2#FFFFFF#000000##000000
##1F8DB21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8db2;
/* rgb */ color: rgb(31, 141, 178);
/* oklch */ color: oklch(60.2% 0.108 226.6);
Tailwind
colors: {
  custom: {
    50: '#75aec9',
    500: '#1f8db2',
    950: '#000000',
  },
}
SCSS
$custom: #1f8db2;
$custom-light: #75aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8db2",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 195.102,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.10762,
    "h": 226.6
  },
  "luminance": 0.22555
}

Semantic roles & 50–950 ramp

primary
#1F8DB2
secondary
#CA7D63
accent
#683BED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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