#1F97B4#1F97B4

#1F97B4 is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.7% C 0.107 H 219.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#1F97B4
RGBrgb(31, 151, 180)
HSLhsl(192, 71%, 41%)
HSVhsv(192, 83%, 71%)
CMYKcmyk(82.8%, 16.1%, 0%, 29.4%)
CIE-LABlab(57.77, -21.23, -24.06)
CIE-LCHlch(57.77, 32.09, 228.57°)
OKLaboklab(62.73% -0.0827 -0.0674)
OKLCHoklch(62.73% 0.107 219.2)
XYZxyz(19.8664, 25.7173, 47.0880)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F97B4 #B43C1F
analogous
#1FB487 #1F97B4 #1F4DB4
triadic
#1F97B4 #B41F97 #97B41F
tetradic
#1F97B4 #871FB4 #B43C1F #4DB41F
square
#1F97B4 #871FB4 #B43C1F #4DB41F
split-complementary
#1F97B4 #B41F4D #B4871F
monochromatic
#0D3F4C #166B80 #1F97B4 #34BBDC #68CDE5

Accessibility & contrast

On white

3.42
#1F97B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#1F97B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F97B4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F97B4#FFFFFF#000000##000000
##1F97B41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B6
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#00A1A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1f97b4;
/* rgb */ color: rgb(31, 151, 180);
/* oklch */ color: oklch(62.7% 0.107 219.2);
Tailwind
colors: {
  custom: {
    50: '#76b5ca',
    500: '#1f97b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f97b4;
$custom-light: #76b5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f97b4",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 180
  },
  "hsl": {
    "h": 191.678,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.10668,
    "h": 219.2
  },
  "luminance": 0.2572
}

Semantic roles & 50–950 ramp

primary
#1F97B4
secondary
#CB7864
accent
#5D3AED
background
#F7FBFC
surface
#EEF6F8
border
#C9D0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #1F97B4

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

Preview Lab → · Contrast checker → · Palette generator →

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