#31838E#31838E

#31838E is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.5% C 0.079 H 207.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#31838E
RGBrgb(49, 131, 142)
HSLhsl(187, 49%, 37%)
HSVhsv(187, 65%, 56%)
CMYKcmyk(65.5%, 7.7%, 0%, 44.3%)
CIE-LABlab(50.50, -20.92, -13.24)
CIE-LCHlch(50.50, 24.76, 212.34°)
OKLaboklab(56.52% -0.0704 -0.0367)
OKLCHoklch(56.52% 0.079 207.5)
XYZxyz(14.2633, 18.8370, 28.4701)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31838E #8E3C31
analogous
#318E6B #31838E #31548E
triadic
#31838E #8E3183 #838E31
tetradic
#31838E #6B318E #8E3C31 #548E31
square
#31838E #6B318E #8E3C31 #548E31
split-complementary
#31838E #8E3154 #8E6B31
monochromatic
#122F33 #215961 #31838E #41ADBB #6DC1CD

Accessibility & contrast

On white

4.40
#31838E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#31838E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31838E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31838E#FFFFFF#000000##000000
##31838E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31838e;
/* rgb */ color: rgb(49, 131, 142);
/* oklch */ color: oklch(56.5% 0.079 207.5);
Tailwind
colors: {
  custom: {
    50: '#75a7af',
    500: '#31838e',
    950: '#000000',
  },
}
SCSS
$custom: #31838e;
$custom-light: #75a7af;
$custom-dark: #000000;
JSON
{
  "hex": "#31838e",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 142
  },
  "hsl": {
    "h": 187.097,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.07944,
    "h": 207.5
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#31838E
secondary
#B47067
accent
#6050D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #31838E

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

Preview Lab → · Contrast checker → · Palette generator →

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