#0F5852#0F5852

#0F5852 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.7% C 0.068 H 186.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5852
RGBrgb(15, 88, 82)
HSLhsl(175, 71%, 20%)
HSVhsv(175, 83%, 35%)
CMYKcmyk(83%, 0%, 6.8%, 65.5%)
CIE-LABlab(33.33, -22.70, -2.68)
CIE-LCHlch(33.33, 22.86, 186.74°)
OKLaboklab(41.69% -0.0674 -0.0076)
OKLCHoklch(41.69% 0.068 186.5)
XYZxyz(5.2090, 7.6896, 9.1907)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5852 #580F15
analogous
#0F582D #0F5852 #0F3A58
triadic
#0F5852 #520F58 #58520F
tetradic
#0F5852 #2D0F58 #580F15 #3A580F
square
#0F5852 #2D0F58 #580F15 #3A580F
split-complementary
#0F5852 #580F3A #582D0F
monochromatic
#041A18 #062421 #0F5852 #188C83 #21C1B3

Accessibility & contrast

On white

8.27
#0F5852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5852
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5852#FFFFFF#000000##FFFFFF
##0F58521.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535352
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#005A56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5852;
/* rgb */ color: rgb(15, 88, 82);
/* oklch */ color: oklch(41.7% 0.068 186.5);
Tailwind
colors: {
  custom: {
    50: '#5d8782',
    500: '#0f5852',
    950: '#000000',
  },
}
SCSS
$custom: #0f5852;
$custom-light: #5d8782;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5852",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 175.068,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41691,
    "c": 0.06788,
    "h": 186.5
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#0F5852
secondary
#923139
accent
#3A49EE
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050B0A
muted
#797C7C

Preview Lab

Preview with #0F5852

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

Preview Lab → · Contrast checker → · Palette generator →

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