#0F5157#0F5157

#0F5157 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.9% C 0.063 H 204.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0F5157
RGBrgb(15, 81, 87)
HSLhsl(185, 71%, 20%)
HSVhsv(185, 83%, 34%)
CMYKcmyk(82.8%, 6.9%, 0%, 65.9%)
CIE-LABlab(31.05, -17.24, -9.25)
CIE-LCHlch(31.05, 19.57, 208.21°)
OKLaboklab(39.9% -0.057 -0.0257)
OKLCHoklch(39.9% 0.063 204.3)
XYZxyz(4.8590, 6.6739, 10.0471)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5157 #57150F
analogous
#0F5739 #0F5157 #0F2D57
triadic
#0F5157 #570F51 #51570F
tetradic
#0F5157 #390F57 #57150F #2D570F
square
#0F5157 #390F57 #57150F #2D570F
split-complementary
#0F5157 #570F2D #57390F
monochromatic
#05181A #062023 #0F5157 #18828B #21B2BF

Accessibility & contrast

On white

8.99
#0F5157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0F5157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5157
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5157#FFFFFF#000000##FFFFFF
##0F51571.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#404657
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5157;
/* rgb */ color: rgb(15, 81, 87);
/* oklch */ color: oklch(39.9% 0.063 204.3);
Tailwind
colors: {
  custom: {
    50: '#5c8286',
    500: '#0f5157',
    950: '#000000',
  },
}
SCSS
$custom: #0f5157;
$custom-light: #5c8286;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5157",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 185,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.39901,
    "c": 0.06258,
    "h": 204.3
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#0F5157
secondary
#913931
accent
#493AED
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0F5157

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

Preview Lab → · Contrast checker → · Palette generator →

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