#1F96A8#1F96A8

#1F96A8 is a mid, moderate teal. Relative luminance 0.249; OKLCH L 62.0% C 0.101 H 210.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1F96A8
RGBrgb(31, 150, 168)
HSLhsl(188, 69%, 39%)
HSVhsv(188, 82%, 66%)
CMYKcmyk(81.5%, 10.7%, 0%, 34.1%)
CIE-LABlab(57.01, -24.73, -18.40)
CIE-LCHlch(57.01, 30.82, 216.66°)
OKLaboklab(61.97% -0.0867 -0.0513)
OKLCHoklch(61.97% 0.101 210.6)
XYZxyz(18.5362, 24.9288, 40.8730)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F96A8 #A8311F
analogous
#1FA876 #1F96A8 #1F52A8
triadic
#1F96A8 #A81F96 #96A81F
tetradic
#1F96A8 #761FA8 #A8311F #52A81F
square
#1F96A8 #761FA8 #A8311F #52A81F
split-complementary
#1F96A8 #A81F52 #A8761F
monochromatic
#0C3A41 #156874 #1F96A8 #2CC1D8 #60D1E2

Accessibility & contrast

On white

3.51
#1F96A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#1F96A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F96A8
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F96A8#FFFFFF#000000##000000
##1F96A81.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A9
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#009E9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f96a8;
/* rgb */ color: rgb(31, 150, 168);
/* oklch */ color: oklch(62.0% 0.101 210.6);
Tailwind
colors: {
  custom: {
    50: '#74b5c1',
    500: '#1f96a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f96a8;
$custom-light: #74b5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f96a8",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 168
  },
  "hsl": {
    "h": 187.883,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.10072,
    "h": 210.6
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F96A8

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

Preview Lab → · Contrast checker → · Palette generator →

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