#31959E#31959E

#31959E is a mid, moderate teal. Relative luminance 0.246; OKLCH L 61.7% C 0.091 H 203.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#31959E
RGBrgb(49, 149, 158)
HSLhsl(185, 53%, 41%)
HSVhsv(185, 69%, 62%)
CMYKcmyk(69%, 5.7%, 0%, 38%)
CIE-LABlab(56.70, -25.25, -13.13)
CIE-LCHlch(56.70, 28.46, 207.47°)
OKLaboklab(61.7% -0.0829 -0.0364)
OKLCHoklch(61.7% 0.091 203.7)
XYZxyz(18.1829, 24.6144, 36.1339)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31959E #9E3A31
analogous
#319E70 #31959E #315E9E
triadic
#31959E #9E3195 #959E31
tetradic
#31959E #70319E #9E3A31 #5E9E31
square
#31959E #70319E #9E3A31 #5E9E31
split-complementary
#31959E #9E315E #9E7031
monochromatic
#143D41 #23696F #31959E #46BBC6 #75CCD4

Accessibility & contrast

On white

3.55
#31959E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#31959E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31959E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31959E#FFFFFF#000000##000000
##31959E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#898F9F
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#009B98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #31959e;
/* rgb */ color: rgb(49, 149, 158);
/* oklch */ color: oklch(61.7% 0.091 203.7);
Tailwind
colors: {
  custom: {
    50: '#79b4ba',
    500: '#31959e',
    950: '#000000',
  },
}
SCSS
$custom: #31959e;
$custom-light: #79b4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31959e",
  "rgb": {
    "r": 49,
    "g": 149,
    "b": 158
  },
  "hsl": {
    "h": 184.954,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.09051,
    "h": 203.7
  },
  "luminance": 0.24616
}

Semantic roles & 50–950 ramp

primary
#31959E
secondary
#BC756E
accent
#584CDC
background
#F7FBFB
surface
#EEF6F6
border
#C9D0D0
text
#0A1111
muted
#7C8080

Preview Lab

Preview with #31959E

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

Preview Lab → · Contrast checker → · Palette generator →

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