#31AFB8#31AFB8

#31AFB8 is a light, moderate teal. Relative luminance 0.348; OKLCH L 69.2% C 0.106 H 202.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31AFB8
RGBrgb(49, 175, 184)
HSLhsl(184, 58%, 46%)
HSVhsv(184, 73%, 72%)
CMYKcmyk(73.4%, 4.9%, 0%, 27.8%)
CIE-LABlab(65.57, -30.19, -14.40)
CIE-LCHlch(65.57, 33.45, 205.50°)
OKLaboklab(69.17% -0.0982 -0.04)
OKLCHoklch(69.17% 0.106 202.2)
XYZxyz(25.2445, 34.7706, 50.7190)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFB8 #B83A31
analogous
#31B87D #31AFB8 #316BB8
triadic
#31AFB8 #B831AF #AFB831
tetradic
#31AFB8 #7D31B8 #B83A31 #6BB831
square
#31AFB8 #7D31B8 #B83A31 #6BB831
split-complementary
#31AFB8 #B8316B #B87D31
monochromatic
#175357 #248188 #31AFB8 #55C9D2 #85D9DE

Accessibility & contrast

On white

2.64
#31AFB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31AFB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFB8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFB8#FFFFFF#000000##000000
##31AFB81.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A7B9
Deuteranopia (green-blind)
#8E99B9
Tritanopia (blue-blind)
#00B6B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31afb8;
/* rgb */ color: rgb(49, 175, 184);
/* oklch */ color: oklch(69.2% 0.106 202.2);
Tailwind
colors: {
  custom: {
    50: '#7ec7cd',
    500: '#31afb8',
    950: '#000000',
  },
}
SCSS
$custom: #31afb8;
$custom-light: #7ec7cd;
$custom-dark: #000000;
JSON
{
  "hex": "#31afb8",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 184
  },
  "hsl": {
    "h": 184,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69167,
    "c": 0.10603,
    "h": 202.2
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#31AFB8
secondary
#C8827D
accent
#5147E1
background
#F8FCFC
surface
#F0F8F9
border
#CBD1D2
text
#0B1313
muted
#7C8282

Preview Lab

Preview with #31AFB8

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

Preview Lab → · Contrast checker → · Palette generator →

#31AFB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva