#31907D#31907D

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

Color values

HEX#31907D
RGBrgb(49, 144, 125)
HSLhsl(168, 49%, 38%)
HSVhsv(168, 66%, 56%)
CMYKcmyk(66%, 0%, 13.2%, 43.5%)
CIE-LABlab(54.11, -32.36, 1.99)
CIE-LCHlch(54.11, 32.42, 176.48°)
OKLaboklab(59.27% -0.0927 0.0048)
OKLCHoklch(59.27% 0.093 177.1)
XYZxyz(14.9398, 22.0785, 22.8723)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31907D #903144
analogous
#31904D #31907D #317390
triadic
#31907D #7D3190 #907D31
tetradic
#31907D #4D3190 #903144 #739031
square
#31907D #4D3190 #903144 #739031
split-complementary
#31907D #903173 #904D31
monochromatic
#12352E #216255 #31907D #41BEA5 #6ECEBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31907D#FFFFFF#000000##000000
##31907D1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31907d;
/* rgb */ color: rgb(49, 144, 125);
/* oklch */ color: oklch(59.3% 0.093 177.1);
Tailwind
colors: {
  custom: {
    50: '#75b1a2',
    500: '#31907d',
    950: '#000000',
  },
}
SCSS
$custom: #31907d;
$custom-light: #75b1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#31907d",
  "rgb": {
    "r": 49,
    "g": 144,
    "b": 125
  },
  "hsl": {
    "h": 168,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.09286,
    "h": 177.1
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#31907D
secondary
#B56877
accent
#4F6BD9
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #31907D

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

Preview Lab → · Contrast checker → · Palette generator →

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