#31848E#31848E

#31848E is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.8% C 0.080 H 206.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#31848E
RGBrgb(49, 132, 142)
HSLhsl(186, 49%, 37%)
HSVhsv(186, 65%, 56%)
CMYKcmyk(65.5%, 7%, 0%, 44.3%)
CIE-LABlab(50.81, -21.44, -12.77)
CIE-LCHlch(50.81, 24.96, 210.76°)
OKLaboklab(56.77% -0.0715 -0.0354)
OKLCHoklch(56.77% 0.08 206.3)
XYZxyz(14.3983, 19.1069, 28.5151)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31848E #8E3B31
analogous
#318E6A #31848E #31558E
triadic
#31848E #8E3184 #848E31
tetradic
#31848E #6A318E #8E3B31 #558E31
square
#31848E #6A318E #8E3B31 #558E31
split-complementary
#31848E #8E3155 #8E6A31
monochromatic
#122F33 #215A61 #31848E #41AEBB #6DC2CD

Accessibility & contrast

On white

4.36
#31848E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#31848E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31848E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31848E#FFFFFF#000000##000000
##31848E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#797F8F
Deuteranopia (green-blind)
#6B758E
Tritanopia (blue-blind)
#008A87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #31848e;
/* rgb */ color: rgb(49, 132, 142);
/* oklch */ color: oklch(56.8% 0.080 206.3);
Tailwind
colors: {
  custom: {
    50: '#75a8af',
    500: '#31848e',
    950: '#000000',
  },
}
SCSS
$custom: #31848e;
$custom-light: #75a8af;
$custom-dark: #000000;
JSON
{
  "hex": "#31848e",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 142
  },
  "hsl": {
    "h": 186.452,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.07981,
    "h": 206.3
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#31848E
secondary
#B46F67
accent
#5E50D8
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #31848E

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

Preview Lab → · Contrast checker → · Palette generator →

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