#1F98A8#1F98A8

#1F98A8 is a light, moderate teal. Relative luminance 0.256; OKLCH L 62.5% C 0.101 H 208.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#1F98A8
RGBrgb(31, 152, 168)
HSLhsl(187, 69%, 39%)
HSVhsv(187, 82%, 66%)
CMYKcmyk(81.5%, 9.5%, 0%, 34.1%)
CIE-LABlab(57.63, -25.74, -17.45)
CIE-LCHlch(57.63, 31.10, 214.14°)
OKLaboklab(62.47% -0.0886 -0.0486)
OKLCHoklch(62.47% 0.101 208.8)
XYZxyz(18.8581, 25.5726, 40.9803)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F98A8 #A82F1F
analogous
#1FA874 #1F98A8 #1F54A8
triadic
#1F98A8 #A81F98 #98A81F
tetradic
#1F98A8 #741FA8 #A82F1F #54A81F
square
#1F98A8 #741FA8 #A82F1F #54A81F
split-complementary
#1F98A8 #A81F54 #A8741F
monochromatic
#0C3B41 #156974 #1F98A8 #2CC4D8 #60D2E2

Accessibility & contrast

On white

3.43
#1F98A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#1F98A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F98A8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F98A8#FFFFFF#000000##000000
##1F98A81.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A9
Deuteranopia (green-blind)
#7785A8
Tritanopia (blue-blind)
#009F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f98a8;
/* rgb */ color: rgb(31, 152, 168);
/* oklch */ color: oklch(62.5% 0.101 208.8);
Tailwind
colors: {
  custom: {
    50: '#75b6c1',
    500: '#1f98a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f98a8;
$custom-light: #75b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f98a8",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 168
  },
  "hsl": {
    "h": 187.007,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62471,
    "c": 0.1011,
    "h": 208.8
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#1F98A8
secondary
#C6695D
accent
#513CEC
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #1F98A8

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

Preview Lab → · Contrast checker → · Palette generator →

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