#0F2F2C#0F2F2C

#0F2F2C is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.0% C 0.038 H 186.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#0F2F2C
RGBrgb(15, 47, 44)
HSLhsl(174, 52%, 12%)
HSVhsv(174, 68%, 18%)
CMYKcmyk(68.1%, 0%, 6.4%, 81.6%)
CIE-LABlab(17.07, -12.60, -1.61)
CIE-LCHlch(17.07, 12.70, 187.28°)
OKLaboklab(28.04% -0.0376 -0.0045)
OKLCHoklch(28.04% 0.038 186.9)
XYZxyz(1.6679, 2.3163, 2.7416)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F2C #2F0F12
analogous
#0F2F1C #0F2F2C #0F222F
triadic
#0F2F2C #2C0F2F #2F2C0F
tetradic
#0F2F2C #1C0F2F #2F0F12 #222F0F
square
#0F2F2C #1C0F2F #2F0F12 #222F0F
split-complementary
#0F2F2C #2F0F22 #2F1C0F
monochromatic
#071716 #071716 #0F2F2C #1E5D57 #2D8C83

Accessibility & contrast

On white

14.35
#0F2F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F2C
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F2C#FFFFFF#000000##FFFFFF
##0F2F2C1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2C
Deuteranopia (green-blind)
#27282C
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2f2c;
/* rgb */ color: rgb(15, 47, 44);
/* oklch */ color: oklch(28.0% 0.038 186.9);
Tailwind
colors: {
  custom: {
    50: '#516765',
    500: '#0f2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f2c;
$custom-light: #516765;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f2c",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 174.375,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2804,
    "c": 0.03785,
    "h": 186.9
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#0F2F2C
secondary
#693136
accent
#4D5ADB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0F2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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