#31AFB2#31AFB2

#31AFB2 is a light, moderate teal. Relative luminance 0.345; OKLCH L 68.9% C 0.106 H 197.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#31AFB2
RGBrgb(49, 175, 178)
HSLhsl(181, 57%, 45%)
HSVhsv(181, 72%, 70%)
CMYKcmyk(72.5%, 1.7%, 0%, 30.2%)
CIE-LABlab(65.38, -32.00, -11.36)
CIE-LCHlch(65.38, 33.95, 199.54°)
OKLaboklab(68.95% -0.1008 -0.0315)
OKLCHoklch(68.95% 0.106 197.4)
XYZxyz(24.6288, 34.5243, 47.4767)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFB2 #B23431
analogous
#31B274 #31AFB2 #316FB2
triadic
#31AFB2 #B231AF #AFB231
tetradic
#31AFB2 #7431B2 #B23431 #6FB231
square
#31AFB2 #7431B2 #B23431 #6FB231
split-complementary
#31AFB2 #B2316F #B27431
monochromatic
#175152 #248082 #31AFB2 #51CCCF #81DADC

Accessibility & contrast

On white

2.66
#31AFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#31AFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFB2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFB2#FFFFFF#000000##000000
##31AFB21.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A7B2
Deuteranopia (green-blind)
#9099B3
Tritanopia (blue-blind)
#00B5B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31afb2;
/* rgb */ color: rgb(49, 175, 178);
/* oklch */ color: oklch(68.9% 0.106 197.4);
Tailwind
colors: {
  custom: {
    50: '#7ec7c9',
    500: '#31afb2',
    950: '#000000',
  },
}
SCSS
$custom: #31afb2;
$custom-light: #7ec7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#31afb2",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 178
  },
  "hsl": {
    "h": 181.395,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.10563,
    "h": 197.4
  },
  "luminance": 0.34527
}

Semantic roles & 50–950 ramp

primary
#31AFB2
secondary
#C57B79
accent
#4B48E0
background
#F8FCFC
surface
#EFF8F8
border
#CAD1D1
text
#0B1313
muted
#7C8282

Preview Lab

Preview with #31AFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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