#31947D#31947D

#31947D is a mid, moderate teal. Relative luminance 0.233; OKLCH L 60.3% C 0.098 H 174.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#31947D
RGBrgb(49, 148, 125)
HSLhsl(166, 50%, 39%)
HSVhsv(166, 67%, 58%)
CMYKcmyk(66.9%, 0%, 15.5%, 42%)
CIE-LABlab(55.39, -34.22, 3.84)
CIE-LCHlch(55.39, 34.44, 173.59°)
OKLaboklab(60.32% -0.0971 0.0097)
OKLCHoklch(60.32% 0.098 174.3)
XYZxyz(15.5564, 23.3117, 23.0778)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31947D #943148
analogous
#31944B #31947D #317994
triadic
#31947D #7D3194 #947D31
tetradic
#31947D #4B3194 #943148 #799431
square
#31947D #4B3194 #943148 #799431
split-complementary
#31947D #943179 #944B31
monochromatic
#13382F #226656 #31947D #42C0A3 #70D0B9

Accessibility & contrast

On white

3.71
#31947D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#31947D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31947D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31947D#FFFFFF#000000##000000
##31947D1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7C
Deuteranopia (green-blind)
#81807F
Tritanopia (blue-blind)
#00968D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31947d;
/* rgb */ color: rgb(49, 148, 125);
/* oklch */ color: oklch(60.3% 0.098 174.3);
Tailwind
colors: {
  custom: {
    50: '#76b4a2',
    500: '#31947d',
    950: '#000000',
  },
}
SCSS
$custom: #31947d;
$custom-light: #76b4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31947d",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 125
  },
  "hsl": {
    "h": 166.061,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.0976,
    "h": 174.3
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#31947D
secondary
#B7697C
accent
#4E6EDA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31947D

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

Preview Lab → · Contrast checker → · Palette generator →

#31947D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva