#31907F#31907F

#31907F is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.3% C 0.092 H 178.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#31907F
RGBrgb(49, 144, 127)
HSLhsl(169, 49%, 38%)
HSVhsv(169, 66%, 56%)
CMYKcmyk(66%, 0%, 11.8%, 43.5%)
CIE-LABlab(54.16, -31.82, 0.92)
CIE-LCHlch(54.16, 31.83, 178.35°)
OKLaboklab(59.33% -0.0918 0.0019)
OKLCHoklch(59.33% 0.092 178.8)
XYZxyz(15.0688, 22.1302, 23.5520)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31907F #903142
analogous
#31904F #31907F #317190
triadic
#31907F #7F3190 #907F31
tetradic
#31907F #4F3190 #903142 #719031
square
#31907F #4F3190 #903142 #719031
split-complementary
#31907F #903171 #904F31
monochromatic
#12352E #216257 #31907F #41BEA7 #6ECEBC

Accessibility & contrast

On white

3.87
#31907F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#31907F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31907F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31907F#FFFFFF#000000##000000
##31907F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A877E
Deuteranopia (green-blind)
#7C7D80
Tritanopia (blue-blind)
#00928B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31907f;
/* rgb */ color: rgb(49, 144, 127);
/* oklch */ color: oklch(59.3% 0.092 178.8);
Tailwind
colors: {
  custom: {
    50: '#75b1a4',
    500: '#31907f',
    950: '#000000',
  },
}
SCSS
$custom: #31907f;
$custom-light: #75b1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#31907f",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 127
  },
  "hsl": {
    "h": 169.263,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.09179,
    "h": 178.8
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

primary
#31907F
secondary
#B56875
accent
#4F68D9
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31907F

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

Preview Lab → · Contrast checker → · Palette generator →

#31907F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva