#0F5742#0F5742

#0F5742 is a dark, moderate teal. Relative luminance 0.073; OKLCH L 40.9% C 0.077 H 168.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#0F5742
RGBrgb(15, 87, 66)
HSLhsl(163, 71%, 20%)
HSVhsv(163, 83%, 34%)
CMYKcmyk(82.8%, 0%, 24.1%, 65.9%)
CIE-LABlab(32.50, -27.02, 6.18)
CIE-LCHlch(32.50, 27.71, 167.11°)
OKLaboklab(40.86% -0.0749 0.0158)
OKLCHoklch(40.86% 0.077 168.1)
XYZxyz(4.5880, 7.3107, 6.3225)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5742 #570F24
analogous
#0F571E #0F5742 #0F4857
triadic
#0F5742 #420F57 #57420F
tetradic
#0F5742 #1E0F57 #570F24 #48570F
square
#0F5742 #1E0F57 #570F24 #48570F
split-complementary
#0F5742 #570F48 #571E0F
monochromatic
#051A14 #06231A #0F5742 #188B6A #21BF91

Accessibility & contrast

On white

8.53
#0F5742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#0F5742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5742
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5742#FFFFFF#000000##FFFFFF
##0F57421.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555041
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#005751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f5742;
/* rgb */ color: rgb(15, 87, 66);
/* oklch */ color: oklch(40.9% 0.077 168.1);
Tailwind
colors: {
  custom: {
    50: '#5b8776',
    500: '#0f5742',
    950: '#000000',
  },
}
SCSS
$custom: #0f5742;
$custom-light: #5b8776;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5742",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 66
  },
  "hsl": {
    "h": 162.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.07656,
    "h": 168.1
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#0F5742
secondary
#91314D
accent
#3A6FED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5742

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

Preview Lab → · Contrast checker → · Palette generator →

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