#31907E#31907E

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

Color values

HEX#31907E
RGBrgb(49, 144, 126)
HSLhsl(169, 49%, 38%)
HSVhsv(169, 66%, 56%)
CMYKcmyk(66%, 0%, 12.5%, 43.5%)
CIE-LABlab(54.14, -32.09, 1.45)
CIE-LCHlch(54.14, 32.12, 177.41°)
OKLaboklab(59.3% -0.0922 0.0034)
OKLCHoklch(59.3% 0.092 177.9)
XYZxyz(15.0040, 22.1042, 23.2104)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31907E #903143
analogous
#31904F #31907E #317290
triadic
#31907E #7E3190 #907E31
tetradic
#31907E #4F3190 #903143 #729031
square
#31907E #4F3190 #903143 #729031
split-complementary
#31907E #903172 #904F31
monochromatic
#12352E #216256 #31907E #41BEA6 #6ECEBB

Accessibility & contrast

On white

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

On black

5.42
#31907E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31907E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31907E#FFFFFF#000000##000000
##31907E1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31907e;
/* rgb */ color: rgb(49, 144, 126);
/* oklch */ color: oklch(59.3% 0.092 177.9);
Tailwind
colors: {
  custom: {
    50: '#75b1a3',
    500: '#31907e',
    950: '#000000',
  },
}
SCSS
$custom: #31907e;
$custom-light: #75b1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31907e",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 126
  },
  "hsl": {
    "h": 168.632,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.09231,
    "h": 177.9
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#31907E
secondary
#B56876
accent
#4F69D9
background
#F7FAFA
surface
#EEF5F3
border
#C9CFCD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31907E

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

Preview Lab → · Contrast checker → · Palette generator →

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