#1F8EB4#1F8EB4

#1F8EB4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.5% C 0.109 H 227.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8EB4
RGBrgb(31, 142, 180)
HSLhsl(195, 71%, 41%)
HSVhsv(195, 83%, 71%)
CMYKcmyk(82.8%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.00, -16.41, -28.33)
CIE-LCHlch(55.00, 32.74, 239.92°)
OKLaboklab(60.51% -0.0742 -0.0797)
OKLCHoklch(60.51% 0.109 227)
XYZxyz(18.4729, 22.9303, 46.6235)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EB4 #B4451F
analogous
#1FB490 #1F8EB4 #1F44B4
triadic
#1F8EB4 #B41F8E #8EB41F
tetradic
#1F8EB4 #901FB4 #B4451F #44B41F
square
#1F8EB4 #901FB4 #B4451F #44B41F
split-complementary
#1F8EB4 #B41F44 #B4901F
monochromatic
#0D3C4C #166580 #1F8EB4 #34B1DC #68C5E5

Accessibility & contrast

On white

3.76
#1F8EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#1F8EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EB4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EB4#FFFFFF#000000##000000
##1F8EB41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB6
Deuteranopia (green-blind)
#667EB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f8eb4;
/* rgb */ color: rgb(31, 142, 180);
/* oklch */ color: oklch(60.5% 0.109 227.0);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#1f8eb4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8eb4;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8eb4",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 195.302,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.10886,
    "h": 227
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#1F8EB4
secondary
#CB7E64
accent
#683AED
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #1F8EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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