#0F472C#0F472C

#0F472C is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.4% C 0.074 H 157.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#0F472C
RGBrgb(15, 71, 44)
HSLhsl(151, 65%, 17%)
HSVhsv(151, 79%, 28%)
CMYKcmyk(78.9%, 0%, 38%, 72.2%)
CIE-LABlab(26.13, -25.26, 11.21)
CIE-LCHlch(26.13, 27.64, 156.07°)
OKLaboklab(35.45% -0.0685 0.0283)
OKLCHoklch(35.45% 0.074 157.6)
XYZxyz(2.9046, 4.7896, 3.1538)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F472C #470F2A
analogous
#0F4710 #0F472C #0F4647
triadic
#0F472C #2C0F47 #472C0F
tetradic
#0F472C #100F47 #470F2A #46470F
square
#0F472C #100F47 #470F2A #46470F
split-complementary
#0F472C #470F46 #47100F
monochromatic
#051910 #051910 #0F472C #1A7A4B #24AC6B

Accessibility & contrast

On white

10.73
#0F472C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F472C
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F472C#FFFFFF#000000##FFFFFF
##0F472C1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412A
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#004640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f472c;
/* rgb */ color: rgb(15, 71, 44);
/* oklch */ color: oklch(35.4% 0.074 157.6);
Tailwind
colors: {
  custom: {
    50: '#577b65',
    500: '#0f472c',
    950: '#000000',
  },
}
SCSS
$custom: #0f472c;
$custom-light: #577b65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f472c",
  "rgb": {
    "r": 15,
    "g": 71,
    "b": 44
  },
  "hsl": {
    "h": 151.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35445,
    "c": 0.0741,
    "h": 157.6
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#0F472C
secondary
#813057
accent
#4091E8
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0F472C

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

Preview Lab → · Contrast checker → · Palette generator →

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