#0F5351#0F5351

#0F5351 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.2% C 0.064 H 191.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#0F5351
RGBrgb(15, 83, 81)
HSLhsl(178, 69%, 19%)
HSVhsv(178, 82%, 33%)
CMYKcmyk(81.9%, 0%, 2.4%, 67.5%)
CIE-LABlab(31.54, -20.40, -4.71)
CIE-LCHlch(31.54, 20.94, 192.99°)
OKLaboklab(40.22% -0.0623 -0.0131)
OKLCHoklch(40.22% 0.064 191.9)
XYZxyz(4.7748, 6.8816, 8.8596)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5351 #530F11
analogous
#0F532F #0F5351 #0F3353
triadic
#0F5351 #510F53 #53510F
tetradic
#0F5351 #2F0F53 #530F11 #33530F
square
#0F5351 #2F0F53 #530F11 #33530F
split-complementary
#0F5351 #530F33 #532F0F
monochromatic
#051A19 #061F1E #0F5351 #188784 #22BBB6

Accessibility & contrast

On white

8.84
#0F5351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0F5351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5351
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5351#FFFFFF#000000##FFFFFF
##0F53511.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#444752
Tritanopia (blue-blind)
#005652
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5351;
/* rgb */ color: rgb(15, 83, 81);
/* oklch */ color: oklch(40.2% 0.064 191.9);
Tailwind
colors: {
  custom: {
    50: '#5c8381',
    500: '#0f5351',
    950: '#000000',
  },
}
SCSS
$custom: #0f5351;
$custom-light: #5c8381;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5351",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 81
  },
  "hsl": {
    "h": 178.235,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.06369,
    "h": 191.9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#0F5351
secondary
#8D3134
accent
#3C41EC
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5351

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

Preview Lab → · Contrast checker → · Palette generator →

#0F5351 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva