#1F8DB4#1F8DB4

#1F8DB4 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.109 H 227.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F8DB4
RGBrgb(31, 141, 180)
HSLhsl(196, 71%, 41%)
HSVhsv(196, 83%, 71%)
CMYKcmyk(82.8%, 21.7%, 0%, 29.4%)
CIE-LABlab(54.69, -15.86, -28.81)
CIE-LCHlch(54.69, 32.89, 241.16°)
OKLaboklab(60.26% -0.0733 -0.081)
OKLCHoklch(60.26% 0.109 227.9)
XYZxyz(18.3248, 22.6340, 46.5742)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8DB4 #B4461F
analogous
#1FB491 #1F8DB4 #1F43B4
triadic
#1F8DB4 #B41F8D #8DB41F
tetradic
#1F8DB4 #911FB4 #B4461F #43B41F
square
#1F8DB4 #911FB4 #B4461F #43B41F
split-complementary
#1F8DB4 #B41F43 #B4911F
monochromatic
#0D3B4C #166480 #1F8DB4 #34B0DC #68C4E5

Accessibility & contrast

On white

3.80
#1F8DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#1F8DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8DB4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8DB4#FFFFFF#000000##000000
##1F8DB41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f8db4;
/* rgb */ color: rgb(31, 141, 180);
/* oklch */ color: oklch(60.3% 0.109 227.9);
Tailwind
colors: {
  custom: {
    50: '#75aeca',
    500: '#1f8db4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8db4;
$custom-light: #75aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8db4",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 195.705,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.10925,
    "h": 227.9
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#1F8DB4
secondary
#CB7F64
accent
#693AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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