#1F8EA4#1F8EA4

#1F8EA4 is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.8% C 0.098 H 215.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F8EA4
RGBrgb(31, 142, 164)
HSLhsl(190, 68%, 38%)
HSVhsv(190, 81%, 64%)
CMYKcmyk(81.1%, 13.4%, 0%, 35.7%)
CIE-LABlab(54.36, -21.92, -20.15)
CIE-LCHlch(54.36, 29.77, 222.60°)
OKLaboklab(59.78% -0.0805 -0.0563)
OKLCHoklch(59.78% 0.098 215)
XYZxyz(16.9360, 22.3155, 38.5295)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8EA4 #A4351F
analogous
#1FA477 #1F8EA4 #1F4BA4
triadic
#1F8EA4 #A41F8E #8EA41F
tetradic
#1F8EA4 #771FA4 #A4351F #4BA41F
square
#1F8EA4 #771FA4 #A4351F #4BA41F
split-complementary
#1F8EA4 #A41F4B #A4771F
monochromatic
#0C353D #156171 #1F8EA4 #2ABAD7 #5DCBE0

Accessibility & contrast

On white

3.84
#1F8EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F8EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8EA4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8EA4#FFFFFF#000000##000000
##1F8EA41.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A5
Deuteranopia (green-blind)
#6D7DA4
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f8ea4;
/* rgb */ color: rgb(31, 142, 164);
/* oklch */ color: oklch(59.8% 0.098 215.0);
Tailwind
colors: {
  custom: {
    50: '#73afbf',
    500: '#1f8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #1f8ea4;
$custom-light: #73afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8ea4",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 189.925,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.09824,
    "h": 215
  },
  "luminance": 0.22318
}

Semantic roles & 50–950 ramp

primary
#1F8EA4
secondary
#C56C5A
accent
#5A3DEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1F8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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