#0F5442#0F5442

#0F5442 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.0% C 0.072 H 170.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0F5442
RGBrgb(15, 84, 66)
HSLhsl(164, 70%, 19%)
HSVhsv(164, 82%, 33%)
CMYKcmyk(82.1%, 0%, 21.4%, 67.1%)
CIE-LABlab(31.43, -25.58, 4.65)
CIE-LCHlch(31.43, 26.00, 169.70°)
OKLaboklab(39.98% -0.0715 0.0119)
OKLCHoklch(39.98% 0.072 170.6)
XYZxyz(4.3502, 6.8350, 6.2432)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5442 #540F21
analogous
#0F5420 #0F5442 #0F4454
triadic
#0F5442 #420F54 #54420F
tetradic
#0F5442 #200F54 #540F21 #44540F
square
#0F5442 #200F54 #540F21 #44540F
split-complementary
#0F5442 #540F44 #54200F
monochromatic
#051A14 #062019 #0F5442 #18886B #22BC94

Accessibility & contrast

On white

8.87
#0F5442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0F5442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5442
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5442#FFFFFF#000000##FFFFFF
##0F54421.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#484743
Tritanopia (blue-blind)
#00554F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5442;
/* rgb */ color: rgb(15, 84, 66);
/* oklch */ color: oklch(40.0% 0.072 170.6);
Tailwind
colors: {
  custom: {
    50: '#5a8576',
    500: '#0f5442',
    950: '#000000',
  },
}
SCSS
$custom: #0f5442;
$custom-light: #5a8576;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5442",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 66
  },
  "hsl": {
    "h": 164.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.07247,
    "h": 170.6
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#0F5442
secondary
#8E3149
accent
#3B6AED
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0F5442

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

Preview Lab → · Contrast checker → · Palette generator →

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