#0F5148#0F5148

#0F5148 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.065 H 181.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#0F5148
RGBrgb(15, 81, 72)
HSLhsl(172, 69%, 19%)
HSVhsv(172, 81%, 32%)
CMYKcmyk(81.5%, 0%, 11.1%, 68.2%)
CIE-LABlab(30.53, -22.28, -0.46)
CIE-LCHlch(30.53, 22.28, 181.18°)
OKLaboklab(39.3% -0.0648 -0.0016)
OKLCHoklch(39.3% 0.065 181.4)
XYZxyz(4.3086, 6.4538, 7.1483)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5148 #510F18
analogous
#0F5127 #0F5148 #0F3951
triadic
#0F5148 #480F51 #51480F
tetradic
#0F5148 #270F51 #510F18 #39510F
square
#0F5148 #270F51 #510F18 #39510F
split-complementary
#0F5148 #510F39 #51270F
monochromatic
#051A17 #051D1A #0F5148 #198576 #22B8A4

Accessibility & contrast

On white

9.17
#0F5148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F5148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5148
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5148#FFFFFF#000000##FFFFFF
##0F51481.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#444549
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5148;
/* rgb */ color: rgb(15, 81, 72);
/* oklch */ color: oklch(39.3% 0.065 181.4);
Tailwind
colors: {
  custom: {
    50: '#5a827a',
    500: '#0f5148',
    950: '#000000',
  },
}
SCSS
$custom: #0f5148;
$custom-light: #5a827a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5148",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 72
  },
  "hsl": {
    "h": 171.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.06479,
    "h": 181.4
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#0F5148
secondary
#8B313D
accent
#3C54EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5148

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

Preview Lab → · Contrast checker → · Palette generator →

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