#31958A#31958A

#31958A is a mid, moderate teal. Relative luminance 0.240; OKLCH L 61.0% C 0.092 H 184.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#31958A
RGBrgb(49, 149, 138)
HSLhsl(173, 51%, 39%)
HSVhsv(173, 67%, 58%)
CMYKcmyk(67.1%, 0%, 7.4%, 41.6%)
CIE-LABlab(56.07, -31.16, -2.61)
CIE-LCHlch(56.07, 31.27, 184.79°)
OKLaboklab(60.99% -0.092 -0.0076)
OKLCHoklch(60.99% 0.092 184.7)
XYZxyz(16.5994, 23.9810, 27.7938)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31958A #95313C
analogous
#319558 #31958A #316E95
triadic
#31958A #8A3195 #958A31
tetradic
#31958A #583195 #95313C #6E9531
square
#31958A #583195 #95313C #6E9531
split-complementary
#31958A #95316E #955831
monochromatic
#133935 #22675F #31958A #42C1B3 #70D0C6

Accessibility & contrast

On white

3.62
#31958A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#31958A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31958A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31958A#FFFFFF#000000##000000
##31958A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8D8A
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#009891
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31958a;
/* rgb */ color: rgb(49, 149, 138);
/* oklch */ color: oklch(61.0% 0.092 184.7);
Tailwind
colors: {
  custom: {
    50: '#77b4ac',
    500: '#31958a',
    950: '#000000',
  },
}
SCSS
$custom: #31958a;
$custom-light: #77b4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#31958a",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 138
  },
  "hsl": {
    "h": 173.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.09228,
    "h": 184.7
  },
  "luminance": 0.23983
}

Semantic roles & 50–950 ramp

primary
#31958A
secondary
#B86A73
accent
#4E5DDA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31958A

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

Preview Lab → · Contrast checker → · Palette generator →

#31958A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva