#1F98A4#1F98A4

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

Color values

HEX#1F98A4
RGBrgb(31, 152, 164)
HSLhsl(185, 68%, 38%)
HSVhsv(185, 81%, 64%)
CMYKcmyk(81.1%, 7.3%, 0%, 35.7%)
CIE-LABlab(57.49, -27.04, -15.39)
CIE-LCHlch(57.49, 31.11, 209.65°)
OKLaboklab(62.31% -0.0904 -0.0428)
OKLCHoklch(62.31% 0.1 205.4)
XYZxyz(18.4912, 25.4258, 39.0479)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F98A4 #A42B1F
analogous
#1FA46E #1F98A4 #1F55A4
triadic
#1F98A4 #A41F98 #98A41F
tetradic
#1F98A4 #6E1FA4 #A42B1F #55A41F
square
#1F98A4 #6E1FA4 #A42B1F #55A41F
split-complementary
#1F98A4 #A41F55 #A46E1F
monochromatic
#0C393D #156871 #1F98A4 #2AC7D7 #5DD5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F98A4#FFFFFF#000000##000000
##1F98A41.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)
#8B91A5
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#009F9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f98a4;
/* rgb */ color: rgb(31, 152, 164);
/* oklch */ color: oklch(62.3% 0.100 205.4);
Tailwind
colors: {
  custom: {
    50: '#74b6bf',
    500: '#1f98a4',
    950: '#000000',
  },
}
SCSS
$custom: #1f98a4;
$custom-light: #74b6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f98a4",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 164
  },
  "hsl": {
    "h": 185.414,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.1,
    "h": 205.4
  },
  "luminance": 0.25428
}

Semantic roles & 50–950 ramp

primary
#1F98A4
secondary
#C5645A
accent
#4C3DEB
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #1F98A4

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

Preview Lab → · Contrast checker → · Palette generator →

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