#1F98A5#1F98A5

#1F98A5 is a light, moderate teal. Relative luminance 0.255; OKLCH L 62.4% C 0.100 H 206.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#1F98A5
RGBrgb(31, 152, 165)
HSLhsl(186, 68%, 38%)
HSVhsv(186, 81%, 65%)
CMYKcmyk(81.2%, 7.9%, 0%, 35.3%)
CIE-LABlab(57.52, -26.72, -15.91)
CIE-LCHlch(57.52, 31.09, 210.77°)
OKLaboklab(62.35% -0.0899 -0.0443)
OKLCHoklch(62.35% 0.1 206.2)
XYZxyz(18.5818, 25.4620, 39.5253)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F98A5 #A52C1F
analogous
#1FA56F #1F98A5 #1F55A5
triadic
#1F98A5 #A51F98 #98A51F
tetradic
#1F98A5 #6F1FA5 #A52C1F #55A51F
square
#1F98A5 #6F1FA5 #A52C1F #55A51F
split-complementary
#1F98A5 #A51F55 #A56F1F
monochromatic
#0C393E #156971 #1F98A5 #2AC6D7 #5ED4E1

Accessibility & contrast

On white

3.45
#1F98A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#1F98A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F98A5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F98A5#FFFFFF#000000##000000
##1F98A51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A6
Deuteranopia (green-blind)
#7885A5
Tritanopia (blue-blind)
#009F9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f98a5;
/* rgb */ color: rgb(31, 152, 165);
/* oklch */ color: oklch(62.4% 0.100 206.2);
Tailwind
colors: {
  custom: {
    50: '#74b6bf',
    500: '#1f98a5',
    950: '#000000',
  },
}
SCSS
$custom: #1f98a5;
$custom-light: #74b6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f98a5",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 165
  },
  "hsl": {
    "h": 185.821,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.10024,
    "h": 206.2
  },
  "luminance": 0.25464
}

Semantic roles & 50–950 ramp

primary
#1F98A5
secondary
#C5655B
accent
#4E3DEB
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #1F98A5

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

Preview Lab → · Contrast checker → · Palette generator →

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