#31828F#31828F

#31828F is a mid, moderate teal. Relative luminance 0.186; OKLCH L 56.3% C 0.079 H 209.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#31828F
RGBrgb(49, 130, 143)
HSLhsl(188, 49%, 38%)
HSVhsv(188, 66%, 56%)
CMYKcmyk(65.7%, 9.1%, 0%, 43.9%)
CIE-LABlab(50.22, -20.07, -14.25)
CIE-LCHlch(50.22, 24.62, 215.38°)
OKLaboklab(56.3% -0.0689 -0.0395)
OKLCHoklch(56.3% 0.079 209.9)
XYZxyz(14.2051, 18.5999, 28.8228)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31828F #8F3E31
analogous
#318F6D #31828F #31538F
triadic
#31828F #8F3182 #828F31
tetradic
#31828F #6D318F #8F3E31 #538F31
square
#31828F #6D318F #8F3E31 #538F31
split-complementary
#31828F #8F3153 #8F6D31
monochromatic
#122F34 #215961 #31828F #41ABBD #6DC0CD

Accessibility & contrast

On white

4.45
#31828F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#31828F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31828F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31828F#FFFFFF#000000##000000
##31828F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#777D90
Deuteranopia (green-blind)
#69738F
Tritanopia (blue-blind)
#008886
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #31828f;
/* rgb */ color: rgb(49, 130, 143);
/* oklch */ color: oklch(56.3% 0.079 209.9);
Tailwind
colors: {
  custom: {
    50: '#75a6af',
    500: '#31828f',
    950: '#000000',
  },
}
SCSS
$custom: #31828f;
$custom-light: #75a6af;
$custom-dark: #000000;
JSON
{
  "hex": "#31828f",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 143
  },
  "hsl": {
    "h": 188.298,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.07944,
    "h": 209.9
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#31828F
secondary
#B57267
accent
#624FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #31828F

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

Preview Lab → · Contrast checker → · Palette generator →

#31828F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva