#0F5254#0F5254

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

Color values

HEX#0F5254
RGBrgb(15, 82, 84)
HSLhsl(182, 70%, 19%)
HSVhsv(182, 82%, 33%)
CMYKcmyk(82.1%, 2.4%, 0%, 67.1%)
CIE-LABlab(31.29, -18.85, -6.98)
CIE-LCHlch(31.29, 20.10, 200.33°)
OKLaboklab(40.06% -0.0597 -0.0194)
OKLCHoklch(40.06% 0.063 198)
XYZxyz(4.8138, 6.7756, 9.4399)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5254 #54110F
analogous
#0F5434 #0F5254 #0F3054
triadic
#0F5254 #540F52 #52540F
tetradic
#0F5254 #340F54 #54110F #30540F
square
#0F5254 #340F54 #54110F #30540F
split-complementary
#0F5254 #540F30 #54340F
monochromatic
#05191A #061F20 #0F5254 #188588 #22B7BC

Accessibility & contrast

On white

8.92
#0F5254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5254
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5254#FFFFFF#000000##FFFFFF
##0F52541.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E54
Deuteranopia (green-blind)
#424754
Tritanopia (blue-blind)
#005552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5254;
/* rgb */ color: rgb(15, 82, 84);
/* oklch */ color: oklch(40.1% 0.063 198.0);
Tailwind
colors: {
  custom: {
    50: '#5c8384',
    500: '#0f5254',
    950: '#000000',
  },
}
SCSS
$custom: #0f5254;
$custom-light: #5c8384;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5254",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 84
  },
  "hsl": {
    "h": 181.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.06273,
    "h": 198
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#0F5254
secondary
#8E3431
accent
#403BED
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #0F5254

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

Preview Lab → · Contrast checker → · Palette generator →

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