#0F5147#0F5147

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

Color values

HEX#0F5147
RGBrgb(15, 81, 71)
HSLhsl(171, 69%, 19%)
HSVhsv(171, 81%, 32%)
CMYKcmyk(81.5%, 0%, 12.3%, 68.2%)
CIE-LABlab(30.50, -22.59, 0.13)
CIE-LCHlch(30.50, 22.59, 179.66°)
OKLaboklab(39.27% -0.0653 0)
OKLCHoklch(39.27% 0.065 180)
XYZxyz(4.2762, 6.4408, 6.9778)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5147 #510F19
analogous
#0F5126 #0F5147 #0F3A51
triadic
#0F5147 #470F51 #51470F
tetradic
#0F5147 #260F51 #510F19 #3A510F
square
#0F5147 #260F51 #510F19 #3A510F
split-complementary
#0F5147 #510F3A #51260F
monochromatic
#051A17 #051D1A #0F5147 #198574 #22B8A2

Accessibility & contrast

On white

9.18
#0F5147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5147
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5147#FFFFFF#000000##FFFFFF
##0F51471.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5147;
/* rgb */ color: rgb(15, 81, 71);
/* oklch */ color: oklch(39.3% 0.065 180.0);
Tailwind
colors: {
  custom: {
    50: '#5a827a',
    500: '#0f5147',
    950: '#000000',
  },
}
SCSS
$custom: #0f5147;
$custom-light: #5a827a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5147",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 170.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.0653,
    "h": 180
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#0F5147
secondary
#8B313E
accent
#3C57EC
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0F5147

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

Preview Lab → · Contrast checker → · Palette generator →

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