#31946B#31946B

#31946B is a mid, moderate teal. Relative luminance 0.229; OKLCH L 59.8% C 0.111 H 162.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#31946B
RGBrgb(49, 148, 107)
HSLhsl(155, 50%, 39%)
HSVhsv(155, 67%, 58%)
CMYKcmyk(66.9%, 0%, 27.7%, 42%)
CIE-LABlab(54.96, -38.65, 13.48)
CIE-LCHlch(54.96, 40.93, 160.77°)
OKLaboklab(59.82% -0.106 0.0344)
OKLCHoklch(59.82% 0.111 162)
XYZxyz(14.5089, 22.8928, 17.5612)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31946B #94315A
analogous
#319439 #31946B #318B94
triadic
#31946B #6B3194 #946B31
tetradic
#31946B #393194 #94315A #8B9431
square
#31946B #393194 #94315A #8B9431
split-complementary
#31946B #94318B #943931
monochromatic
#133829 #22664A #31946B #42C08C #70D0A8

Accessibility & contrast

On white

3.76
#31946B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#31946B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31946B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31946B#FFFFFF#000000##000000
##31946B1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928969
Deuteranopia (green-blind)
#84806E
Tritanopia (blue-blind)
#009489
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #31946b;
/* rgb */ color: rgb(49, 148, 107);
/* oklch */ color: oklch(59.8% 0.111 162.0);
Tailwind
colors: {
  custom: {
    50: '#75b495',
    500: '#31946b',
    950: '#000000',
  },
}
SCSS
$custom: #31946b;
$custom-light: #75b495;
$custom-dark: #000000;
JSON
{
  "hex": "#31946b",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 107
  },
  "hsl": {
    "h": 155.152,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.1114,
    "h": 162
  },
  "luminance": 0.22894
}

Semantic roles & 50–950 ramp

primary
#31946B
secondary
#B7698A
accent
#4E88DA
background
#F7FBF9
surface
#EEF6F1
border
#C9D0CB
text
#09110D
muted
#7B807E

Preview Lab

Preview with #31946B

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

Preview Lab → · Contrast checker → · Palette generator →

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