#31858F#31858F

#31858F is a mid, moderate teal. Relative luminance 0.194; OKLCH L 57.1% C 0.080 H 206.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#31858F
RGBrgb(49, 133, 143)
HSLhsl(186, 49%, 38%)
HSVhsv(186, 66%, 56%)
CMYKcmyk(65.7%, 7%, 0%, 43.9%)
CIE-LABlab(51.16, -21.66, -12.82)
CIE-LCHlch(51.16, 25.17, 210.62°)
OKLaboklab(57.07% -0.0722 -0.0355)
OKLCHoklch(57.07% 0.08 206.2)
XYZxyz(14.6100, 19.4096, 28.9577)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31858F #8F3B31
analogous
#318F6A #31858F #31568F
triadic
#31858F #8F3185 #858F31
tetradic
#31858F #6A318F #8F3B31 #568F31
square
#31858F #6A318F #8F3B31 #568F31
split-complementary
#31858F #8F3156 #8F6A31
monochromatic
#123034 #215B61 #31858F #41AFBD #6DC3CD

Accessibility & contrast

On white

4.30
#31858F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#31858F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31858F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31858F#FFFFFF#000000##000000
##31858F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8090
Deuteranopia (green-blind)
#6C758F
Tritanopia (blue-blind)
#008B88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #31858f;
/* rgb */ color: rgb(49, 133, 143);
/* oklch */ color: oklch(57.1% 0.080 206.2);
Tailwind
colors: {
  custom: {
    50: '#75a8af',
    500: '#31858f',
    950: '#000000',
  },
}
SCSS
$custom: #31858f;
$custom-light: #75a8af;
$custom-dark: #000000;
JSON
{
  "hex": "#31858f",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 143
  },
  "hsl": {
    "h": 186.383,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.08048,
    "h": 206.2
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#31858F
secondary
#B56F67
accent
#5E4FD9
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #31858F

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

Preview Lab → · Contrast checker → · Palette generator →

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