#0F472D#0F472D

#0F472D is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.5% C 0.073 H 158.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#0F472D
RGBrgb(15, 71, 45)
HSLhsl(152, 65%, 17%)
HSVhsv(152, 79%, 28%)
CMYKcmyk(78.9%, 0%, 36.6%, 72.2%)
CIE-LABlab(26.15, -25.01, 10.61)
CIE-LCHlch(26.15, 27.17, 157.03°)
OKLaboklab(35.47% -0.0679 0.0268)
OKLCHoklch(35.47% 0.073 158.5)
XYZxyz(2.9236, 4.7972, 3.2540)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F472D #470F29
analogous
#0F4711 #0F472D #0F4547
triadic
#0F472D #2D0F47 #472D0F
tetradic
#0F472D #110F47 #470F29 #45470F
square
#0F472D #110F47 #470F29 #45470F
split-complementary
#0F472D #470F45 #47110F
monochromatic
#051910 #051910 #0F472D #1A7A4D #24AC6D

Accessibility & contrast

On white

10.72
#0F472D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0F472D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F472D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F472D#FFFFFF#000000##FFFFFF
##0F472D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412B
Deuteranopia (green-blind)
#3F3C2F
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f472d;
/* rgb */ color: rgb(15, 71, 45);
/* oklch */ color: oklch(35.5% 0.073 158.5);
Tailwind
colors: {
  custom: {
    50: '#577b66',
    500: '#0f472d',
    950: '#000000',
  },
}
SCSS
$custom: #0f472d;
$custom-light: #577b66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f472d",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 45
  },
  "hsl": {
    "h": 152.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.07303,
    "h": 158.5
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#0F472D
secondary
#813056
accent
#408EE8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0F472D

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

Preview Lab → · Contrast checker → · Palette generator →

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