#31907B#31907B

#31907B is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.2% C 0.094 H 175.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#31907B
RGBrgb(49, 144, 123)
HSLhsl(167, 49%, 38%)
HSVhsv(167, 66%, 56%)
CMYKcmyk(66%, 0%, 14.6%, 43.5%)
CIE-LABlab(54.06, -32.89, 3.06)
CIE-LCHlch(54.06, 33.03, 174.68°)
OKLaboklab(59.21% -0.0937 0.0076)
OKLCHoklch(59.21% 0.094 175.4)
XYZxyz(14.8133, 22.0279, 22.2062)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31907B #903146
analogous
#31904B #31907B #317590
triadic
#31907B #7B3190 #907B31
tetradic
#31907B #4B3190 #903146 #759031
square
#31907B #4B3190 #903146 #759031
split-complementary
#31907B #903175 #904B31
monochromatic
#12352D #216254 #31907B #41BEA2 #6ECEB8

Accessibility & contrast

On white

3.88
#31907B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#31907B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31907B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31907B#FFFFFF#000000##000000
##31907B1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877A
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#00928A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31907b;
/* rgb */ color: rgb(49, 144, 123);
/* oklch */ color: oklch(59.2% 0.094 175.4);
Tailwind
colors: {
  custom: {
    50: '#75b1a1',
    500: '#31907b',
    950: '#000000',
  },
}
SCSS
$custom: #31907b;
$custom-light: #75b1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31907b",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 123
  },
  "hsl": {
    "h": 166.737,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.09402,
    "h": 175.4
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#31907B
secondary
#B56879
accent
#4F6DD9
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31907B

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

Preview Lab → · Contrast checker → · Palette generator →

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