#0F5257#0F5257

#0F5257 is a dark, moderate teal. Relative luminance 0.068; OKLCH L 40.2% C 0.063 H 202.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#0F5257
RGBrgb(15, 82, 87)
HSLhsl(184, 71%, 20%)
HSVhsv(184, 83%, 34%)
CMYKcmyk(82.8%, 5.7%, 0%, 65.9%)
CIE-LABlab(31.40, -17.80, -8.72)
CIE-LCHlch(31.40, 19.83, 206.11°)
OKLaboklab(40.18% -0.0582 -0.0242)
OKLCHoklch(40.18% 0.063 202.6)
XYZxyz(4.9338, 6.8237, 10.0720)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5257 #57140F
analogous
#0F5738 #0F5257 #0F2E57
triadic
#0F5257 #570F52 #52570F
tetradic
#0F5257 #380F57 #57140F #2E570F
square
#0F5257 #380F57 #57140F #2E570F
split-complementary
#0F5257 #570F2E #57380F
monochromatic
#05191A #062123 #0F5257 #18838B #21B4BF

Accessibility & contrast

On white

8.88
#0F5257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0F5257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5257
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5257#FFFFFF#000000##FFFFFF
##0F52571.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#414757
Tritanopia (blue-blind)
#005653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5257;
/* rgb */ color: rgb(15, 82, 87);
/* oklch */ color: oklch(40.2% 0.063 202.6);
Tailwind
colors: {
  custom: {
    50: '#5c8386',
    500: '#0f5257',
    950: '#000000',
  },
}
SCSS
$custom: #0f5257;
$custom-light: #5c8386;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5257",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 184.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.06302,
    "h": 202.6
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#0F5257
secondary
#913831
accent
#473AED
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0F5257

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

Preview Lab → · Contrast checker → · Palette generator →

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