#0F5247#0F5247

#0F5247 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.066 H 178.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#0F5247
RGBrgb(15, 82, 71)
HSLhsl(170, 69%, 19%)
HSVhsv(170, 82%, 32%)
CMYKcmyk(81.7%, 0%, 13.4%, 67.8%)
CIE-LABlab(30.86, -23.10, 0.66)
CIE-LCHlch(30.86, 23.11, 178.37°)
OKLaboklab(39.56% -0.0665 0.0014)
OKLCHoklch(39.56% 0.066 178.8)
XYZxyz(4.3511, 6.5906, 7.0028)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5247 #520F1A
analogous
#0F5226 #0F5247 #0F3C52
triadic
#0F5247 #470F52 #52470F
tetradic
#0F5247 #260F52 #520F1A #3C520F
square
#0F5247 #260F52 #520F1A #3C520F
split-complementary
#0F5247 #520F3C #52260F
monochromatic
#051A16 #061E1A #0F5247 #188674 #22B9A1

Accessibility & contrast

On white

9.06
#0F5247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F5247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5247
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5247#FFFFFF#000000##FFFFFF
##0F52471.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C47
Deuteranopia (green-blind)
#454648
Tritanopia (blue-blind)
#00534F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5247;
/* rgb */ color: rgb(15, 82, 71);
/* oklch */ color: oklch(39.6% 0.066 178.8);
Tailwind
colors: {
  custom: {
    50: '#5a837a',
    500: '#0f5247',
    950: '#000000',
  },
}
SCSS
$custom: #0f5247;
$custom-light: #5a837a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5247",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 71
  },
  "hsl": {
    "h": 170.149,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.06647,
    "h": 178.8
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#0F5247
secondary
#8C3140
accent
#3C59EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5247

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

Preview Lab → · Contrast checker → · Palette generator →

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