#31ACC2#31ACC2

#31ACC2 is a light, moderate teal. Relative luminance 0.341; OKLCH L 68.8% C 0.108 H 212.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#31ACC2
RGBrgb(49, 172, 194)
HSLhsl(189, 60%, 48%)
HSVhsv(189, 75%, 76%)
CMYKcmyk(74.7%, 11.3%, 0%, 23.9%)
CIE-LABlab(65.00, -25.61, -20.81)
CIE-LCHlch(65.00, 33.00, 219.11°)
OKLaboklab(68.82% -0.0911 -0.058)
OKLCHoklch(68.82% 0.108 212.5)
XYZxyz(25.7526, 34.0500, 56.2435)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31ACC2 #C24731
analogous
#31C28F #31ACC2 #3164C2
triadic
#31ACC2 #C231AC #ACC231
tetradic
#31ACC2 #8F31C2 #C24731 #64C231
square
#31ACC2 #8F31C2 #C24731 #64C231
split-complementary
#31ACC2 #C23164 #C28F31
monochromatic
#185560 #258191 #31ACC2 #5BC3D6 #8CD5E2

Accessibility & contrast

On white

2.69
#31ACC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#31ACC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31ACC2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31ACC2#FFFFFF#000000##000000
##31ACC21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA6C3
Deuteranopia (green-blind)
#8797C2
Tritanopia (blue-blind)
#00B5B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31acc2;
/* rgb */ color: rgb(49, 172, 194);
/* oklch */ color: oklch(68.8% 0.108 212.5);
Tailwind
colors: {
  custom: {
    50: '#7fc5d4',
    500: '#31acc2',
    950: '#000000',
  },
}
SCSS
$custom: #31acc2;
$custom-light: #7fc5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#31acc2",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 194
  },
  "hsl": {
    "h": 189.103,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.10795,
    "h": 212.5
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

primary
#31ACC2
secondary
#CC8E83
accent
#5D45E3
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #31ACC2

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

Preview Lab → · Contrast checker → · Palette generator →

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