#31958E#31958E

#31958E is a mid, moderate teal. Relative luminance 0.241; OKLCH L 61.1% C 0.091 H 188.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#31958E
RGBrgb(49, 149, 142)
HSLhsl(176, 51%, 39%)
HSVhsv(176, 67%, 58%)
CMYKcmyk(67.1%, 0%, 4.7%, 41.6%)
CIE-LABlab(56.19, -30.02, -4.73)
CIE-LCHlch(56.19, 30.39, 188.96°)
OKLaboklab(61.12% -0.0901 -0.0133)
OKLCHoklch(61.12% 0.091 188.4)
XYZxyz(16.8943, 24.0990, 29.3471)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31958E #953138
analogous
#31955C #31958E #316A95
triadic
#31958E #8E3195 #958E31
tetradic
#31958E #5C3195 #953138 #6A9531
square
#31958E #5C3195 #953138 #6A9531
split-complementary
#31958E #95316A #955C31
monochromatic
#133936 #226762 #31958E #42C1B8 #70D0C9

Accessibility & contrast

On white

3.61
#31958E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#31958E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31958E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31958E#FFFFFF#000000##000000
##31958E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8E
Deuteranopia (green-blind)
#7E828F
Tritanopia (blue-blind)
#009993
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31958e;
/* rgb */ color: rgb(49, 149, 142);
/* oklch */ color: oklch(61.1% 0.091 188.4);
Tailwind
colors: {
  custom: {
    50: '#77b4af',
    500: '#31958e',
    950: '#000000',
  },
}
SCSS
$custom: #31958e;
$custom-light: #77b4af;
$custom-dark: #000000;
JSON
{
  "hex": "#31958e",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 142
  },
  "hsl": {
    "h": 175.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.09107,
    "h": 188.4
  },
  "luminance": 0.24101
}

Semantic roles & 50–950 ramp

primary
#31958E
secondary
#B86A6F
accent
#4E58DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31958E

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

Preview Lab → · Contrast checker → · Palette generator →

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