#1F97A8#1F97A8

#1F97A8 is a light, moderate teal. Relative luminance 0.253; OKLCH L 62.2% C 0.101 H 209.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F97A8
RGBrgb(31, 151, 168)
HSLhsl(187, 69%, 39%)
HSVhsv(187, 82%, 66%)
CMYKcmyk(81.5%, 10.1%, 0%, 34.1%)
CIE-LABlab(57.32, -25.24, -17.93)
CIE-LCHlch(57.32, 30.95, 215.39°)
OKLaboklab(62.22% -0.0877 -0.05)
OKLCHoklch(62.22% 0.101 209.7)
XYZxyz(18.6965, 25.2493, 40.9264)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F97A8 #A8301F
analogous
#1FA875 #1F97A8 #1F53A8
triadic
#1F97A8 #A81F97 #97A81F
tetradic
#1F97A8 #751FA8 #A8301F #53A81F
square
#1F97A8 #751FA8 #A8301F #53A81F
split-complementary
#1F97A8 #A81F53 #A8751F
monochromatic
#0C3A41 #156974 #1F97A8 #2CC3D8 #60D2E2

Accessibility & contrast

On white

3.47
#1F97A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#1F97A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F97A8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F97A8#FFFFFF#000000##000000
##1F97A81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A9
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#009F9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f97a8;
/* rgb */ color: rgb(31, 151, 168);
/* oklch */ color: oklch(62.2% 0.101 209.7);
Tailwind
colors: {
  custom: {
    50: '#75b6c1',
    500: '#1f97a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f97a8;
$custom-light: #75b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f97a8",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 168
  },
  "hsl": {
    "h": 187.445,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.1009,
    "h": 209.7
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#1F97A8
secondary
#C66A5D
accent
#523CEC
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #1F97A8

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

Preview Lab → · Contrast checker → · Palette generator →

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