#0F5041#0F5041

#0F5041 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.8% C 0.068 H 173.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#0F5041
RGBrgb(15, 80, 65)
HSLhsl(166, 68%, 19%)
HSVhsv(166, 81%, 31%)
CMYKcmyk(81.3%, 0%, 18.8%, 68.6%)
CIE-LABlab(29.96, -23.91, 3.18)
CIE-LCHlch(29.96, 24.12, 172.42°)
OKLaboklab(38.77% -0.0674 0.0081)
OKLCHoklch(38.77% 0.068 173.2)
XYZxyz(4.0193, 6.2201, 5.9888)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5041 #500F1E
analogous
#0F5020 #0F5041 #0F3E50
triadic
#0F5041 #410F50 #50410F
tetradic
#0F5041 #200F50 #500F1E #3E500F
square
#0F5041 #200F50 #500F1E #3E500F
split-complementary
#0F5041 #500F3E #50200F
monochromatic
#051A15 #051C17 #0F5041 #19846B #22B795

Accessibility & contrast

On white

9.36
#0F5041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5041
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5041#FFFFFF#000000##FFFFFF
##0F50411.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#454442
Tritanopia (blue-blind)
#00514C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5041;
/* rgb */ color: rgb(15, 80, 65);
/* oklch */ color: oklch(38.8% 0.068 173.2);
Tailwind
colors: {
  custom: {
    50: '#5a8175',
    500: '#0f5041',
    950: '#000000',
  },
}
SCSS
$custom: #0f5041;
$custom-light: #5a8175;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5041",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 65
  },
  "hsl": {
    "h": 166.154,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.06789,
    "h": 173.2
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#0F5041
secondary
#8A3145
accent
#3D65EB
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0F5041

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

Preview Lab → · Contrast checker → · Palette generator →

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