#31958D#31958D

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

Color values

HEX#31958D
RGBrgb(49, 149, 141)
HSLhsl(175, 51%, 39%)
HSVhsv(175, 67%, 58%)
CMYKcmyk(67.1%, 0%, 5.4%, 41.6%)
CIE-LABlab(56.16, -30.31, -4.20)
CIE-LCHlch(56.16, 30.60, 187.89°)
OKLaboklab(61.09% -0.0906 -0.0119)
OKLCHoklch(61.09% 0.091 187.5)
XYZxyz(16.8196, 24.0691, 28.9535)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31958D #953139
analogous
#31955B #31958D #316B95
triadic
#31958D #8D3195 #958D31
tetradic
#31958D #5B3195 #953139 #6B9531
square
#31958D #5B3195 #953139 #6B9531
split-complementary
#31958D #95316B #955B31
monochromatic
#133936 #226761 #31958D #42C1B7 #70D0C8

Accessibility & contrast

On white

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

On black

5.81
#31958D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31958D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31958D#FFFFFF#000000##000000
##31958D1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8D8D
Deuteranopia (green-blind)
#7E828E
Tritanopia (blue-blind)
#009992
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #31958d;
/* rgb */ color: rgb(49, 149, 141);
/* oklch */ color: oklch(61.1% 0.091 187.5);
Tailwind
colors: {
  custom: {
    50: '#77b4ae',
    500: '#31958d',
    950: '#000000',
  },
}
SCSS
$custom: #31958d;
$custom-light: #77b4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31958d",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 141
  },
  "hsl": {
    "h": 175.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61087,
    "c": 0.09133,
    "h": 187.5
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#31958D
secondary
#B86A70
accent
#4E59DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31958D

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

Preview Lab → · Contrast checker → · Palette generator →

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