#31A2B3#31A2B3

#31A2B3 is a light, moderate teal. Relative luminance 0.297; OKLCH L 65.8% C 0.100 H 209.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#31A2B3
RGBrgb(49, 162, 179)
HSLhsl(188, 57%, 45%)
HSVhsv(188, 73%, 70%)
CMYKcmyk(72.6%, 9.5%, 0%, 29.8%)
CIE-LABlab(61.43, -25.29, -17.86)
CIE-LCHlch(61.43, 30.96, 215.23°)
OKLaboklab(65.77% -0.0873 -0.0497)
OKLCHoklch(65.77% 0.1 209.7)
XYZxyz(22.3201, 29.7457, 47.2042)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2B3 #B34231
analogous
#31B383 #31A2B3 #3161B3
triadic
#31A2B3 #B331A2 #A2B331
tetradic
#31A2B3 #8331B3 #B34231 #61B331
square
#31A2B3 #8331B3 #B34231 #61B331
split-complementary
#31A2B3 #B33161 #B38331
monochromatic
#174B53 #247783 #31A2B3 #52BFD0 #82D1DD

Accessibility & contrast

On white

3.02
#31A2B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#31A2B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A2B3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2B3#FFFFFF#000000##000000
##31A2B31.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#939CB4
Deuteranopia (green-blind)
#818FB3
Tritanopia (blue-blind)
#00AAA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a2b3;
/* rgb */ color: rgb(49, 162, 179);
/* oklch */ color: oklch(65.8% 0.100 209.7);
Tailwind
colors: {
  custom: {
    50: '#7cbec9',
    500: '#31a2b3',
    950: '#000000',
  },
}
SCSS
$custom: #31a2b3;
$custom-light: #7cbec9;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2b3",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 179
  },
  "hsl": {
    "h": 187.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.10044,
    "h": 209.7
  },
  "luminance": 0.29748
}

Semantic roles & 50–950 ramp

primary
#31A2B3
secondary
#C6847A
accent
#5B48E0
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1213
muted
#7C8182

Preview Lab

Preview with #31A2B3

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

Preview Lab → · Contrast checker → · Palette generator →

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