#0F5158#0F5158

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

Color values

HEX#0F5158
RGBrgb(15, 81, 88)
HSLhsl(186, 71%, 20%)
HSVhsv(186, 83%, 35%)
CMYKcmyk(83%, 8%, 0%, 65.5%)
CIE-LABlab(31.09, -16.89, -9.83)
CIE-LCHlch(31.09, 19.54, 210.20°)
OKLaboklab(39.95% -0.0566 -0.0273)
OKLCHoklch(39.95% 0.063 205.8)
XYZxyz(4.9001, 6.6904, 10.2637)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5158 #58160F
analogous
#0F583A #0F5158 #0F2D58
triadic
#0F5158 #580F51 #51580F
tetradic
#0F5158 #3A0F58 #58160F #2D580F
square
#0F5158 #3A0F58 #58160F #2D580F
split-complementary
#0F5158 #580F2D #583A0F
monochromatic
#04181A #062124 #0F5158 #18818C #21B1C1

Accessibility & contrast

On white

8.98
#0F5158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5158
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5158#FFFFFF#000000##FFFFFF
##0F51581.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#3F4658
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5158;
/* rgb */ color: rgb(15, 81, 88);
/* oklch */ color: oklch(39.9% 0.063 205.8);
Tailwind
colors: {
  custom: {
    50: '#5c8287',
    500: '#0f5158',
    950: '#000000',
  },
}
SCSS
$custom: #0f5158;
$custom-light: #5c8287;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5158",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 185.753,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.06282,
    "h": 205.8
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#0F5158
secondary
#923A31
accent
#4B3AEE
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0F5158

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

Preview Lab → · Contrast checker → · Palette generator →

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