#315E5F#315E5F

#315E5F is a mid, muted teal. Relative luminance 0.095; OKLCH L 45.0% C 0.050 H 197.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#315E5F
RGBrgb(49, 94, 95)
HSLhsl(181, 32%, 28%)
HSVhsv(181, 48%, 37%)
CMYKcmyk(48.4%, 1.1%, 0%, 62.7%)
CIE-LABlab(36.90, -15.15, -5.39)
CIE-LCHlch(36.90, 16.08, 199.59°)
OKLaboklab(45.03% -0.0474 -0.0149)
OKLCHoklch(45.03% 0.05 197.4)
XYZxyz(7.3341, 9.4840, 12.2684)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E5F #5F3231
analogous
#315F49 #315E5F #31475F
triadic
#315E5F #5F315E #5E5F31
tetradic
#315E5F #49315F #5F3231 #475F31
square
#315E5F #49315F #5F3231 #475F31
split-complementary
#315E5F #5F3147 #5F4931
monochromatic
#0A1414 #1C3637 #315E5F #468687 #5EAAAC

Accessibility & contrast

On white

7.25
#315E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#315E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315E5F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E5F#FFFFFF#000000##FFFFFF
##315E5F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5F
Deuteranopia (green-blind)
#51545F
Tritanopia (blue-blind)
#19615E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315e5f;
/* rgb */ color: rgb(49, 94, 95);
/* oklch */ color: oklch(45.0% 0.050 197.4);
Tailwind
colors: {
  custom: {
    50: '#6d8b8c',
    500: '#315e5f',
    950: '#000000',
  },
}
SCSS
$custom: #315e5f;
$custom-light: #6d8b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#315e5f",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 95
  },
  "hsl": {
    "h": 181.304,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45032,
    "c": 0.04969,
    "h": 197.4
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#315E5F
secondary
#905D5C
accent
#6260C8
background
#F6F8F8
surface
#ECF0F0
border
#C7CBCB
text
#070C0C
muted
#7A7D7D

Preview Lab

Preview with #315E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#315E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva