#0F5246#0F5246

#0F5246 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.067 H 177.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#0F5246
RGBrgb(15, 82, 70)
HSLhsl(169, 69%, 19%)
HSVhsv(169, 82%, 32%)
CMYKcmyk(81.7%, 0%, 14.6%, 67.8%)
CIE-LABlab(30.83, -23.41, 1.25)
CIE-LCHlch(30.83, 23.44, 176.95°)
OKLaboklab(39.52% -0.067 0.0029)
OKLCHoklch(39.52% 0.067 177.5)
XYZxyz(4.3192, 6.5778, 6.8352)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5246 #520F1B
analogous
#0F5225 #0F5246 #0F3D52
triadic
#0F5246 #460F52 #52460F
tetradic
#0F5246 #250F52 #520F1B #3D520F
square
#0F5246 #250F52 #520F1B #3D520F
split-complementary
#0F5246 #520F3D #52250F
monochromatic
#051A16 #061E1A #0F5246 #188672 #22B99E

Accessibility & contrast

On white

9.07
#0F5246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5246
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5246#FFFFFF#000000##FFFFFF
##0F52461.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#464647
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5246;
/* rgb */ color: rgb(15, 82, 70);
/* oklch */ color: oklch(39.5% 0.067 177.5);
Tailwind
colors: {
  custom: {
    50: '#5a8379',
    500: '#0f5246',
    950: '#000000',
  },
}
SCSS
$custom: #0f5246;
$custom-light: #5a8379;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5246",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 70
  },
  "hsl": {
    "h": 169.254,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.06706,
    "h": 177.5
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#0F5246
secondary
#8C3141
accent
#3C5BEC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5246

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

Preview Lab → · Contrast checker → · Palette generator →

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