#31899A#31899A

#31899A is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.5% C 0.086 H 212.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#31899A
RGBrgb(49, 137, 154)
HSLhsl(190, 52%, 40%)
HSVhsv(190, 68%, 60%)
CMYKcmyk(68.2%, 11%, 0%, 39.6%)
CIE-LABlab(52.81, -20.29, -16.71)
CIE-LCHlch(52.81, 26.28, 219.48°)
OKLaboklab(58.53% -0.0718 -0.0465)
OKLCHoklch(58.53% 0.086 212.9)
XYZxyz(16.0426, 20.8756, 33.7495)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31899A #9A4231
analogous
#319A76 #31899A #31559A
triadic
#31899A #9A3189 #899A31
tetradic
#31899A #76319A #9A4231 #559A31
square
#31899A #76319A #9A4231 #559A31
split-complementary
#31899A #9A3155 #9A7631
monochromatic
#13363D #22606C #31899A #45AFC4 #73C3D2

Accessibility & contrast

On white

4.06
#31899A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#31899A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31899A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31899A#FFFFFF#000000##000000
##31899A1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C849B
Deuteranopia (green-blind)
#6D799A
Tritanopia (blue-blind)
#00908E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31899a;
/* rgb */ color: rgb(49, 137, 154);
/* oklch */ color: oklch(58.5% 0.086 212.9);
Tailwind
colors: {
  custom: {
    50: '#77abb7',
    500: '#31899a',
    950: '#000000',
  },
}
SCSS
$custom: #31899a;
$custom-light: #77abb7;
$custom-dark: #000000;
JSON
{
  "hex": "#31899a",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 154
  },
  "hsl": {
    "h": 189.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.08554,
    "h": 212.9
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#31899A
secondary
#BA796C
accent
#644DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31899A

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

Preview Lab → · Contrast checker → · Palette generator →

#31899A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva