#31948E#31948E

#31948E is a mid, moderate teal. Relative luminance 0.238; OKLCH L 60.9% C 0.090 H 189.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#31948E
RGBrgb(49, 148, 142)
HSLhsl(176, 50%, 39%)
HSVhsv(176, 67%, 58%)
CMYKcmyk(66.9%, 0%, 4.1%, 42%)
CIE-LABlab(55.87, -29.54, -5.20)
CIE-LCHlch(55.87, 29.99, 189.98°)
OKLaboklab(60.86% -0.089 -0.0146)
OKLCHoklch(60.86% 0.09 189.3)
XYZxyz(16.7368, 23.7839, 29.2946)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31948E #943137
analogous
#31945C #31948E #316894
triadic
#31948E #8E3194 #948E31
tetradic
#31948E #5C3194 #943137 #689431
square
#31948E #5C3194 #943137 #689431
split-complementary
#31948E #943168 #945C31
monochromatic
#133836 #226662 #31948E #42C0B9 #70D0CA

Accessibility & contrast

On white

3.65
#31948E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#31948E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31948E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31948E#FFFFFF#000000##000000
##31948E1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8E
Deuteranopia (green-blind)
#7D818F
Tritanopia (blue-blind)
#009892
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #31948e;
/* rgb */ color: rgb(49, 148, 142);
/* oklch */ color: oklch(60.9% 0.090 189.3);
Tailwind
colors: {
  custom: {
    50: '#77b4af',
    500: '#31948e',
    950: '#000000',
  },
}
SCSS
$custom: #31948e;
$custom-light: #77b4af;
$custom-dark: #000000;
JSON
{
  "hex": "#31948e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 142
  },
  "hsl": {
    "h": 176.364,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.0902,
    "h": 189.3
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#31948E
secondary
#B7696E
accent
#4E57DA
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A1110
muted
#7C807F

Preview Lab

Preview with #31948E

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

Preview Lab → · Contrast checker → · Palette generator →

#31948E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva