#0F2F2A#0F2F2A

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

Color values

HEX#0F2F2A
RGBrgb(15, 47, 42)
HSLhsl(171, 52%, 12%)
HSVhsv(171, 68%, 18%)
CMYKcmyk(68.1%, 0%, 10.6%, 81.6%)
CIE-LABlab(17.00, -13.26, -0.32)
CIE-LCHlch(17.00, 13.26, 181.37°)
OKLaboklab(27.96% -0.0387 -0.0011)
OKLCHoklch(27.96% 0.039 181.6)
XYZxyz(1.6312, 2.3016, 2.5483)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F2A #2F0F14
analogous
#0F2F1A #0F2F2A #0F242F
triadic
#0F2F2A #2A0F2F #2F2A0F
tetradic
#0F2F2A #1A0F2F #2F0F14 #242F0F
square
#0F2F2A #1A0F2F #2F0F14 #242F0F
split-complementary
#0F2F2A #2F0F24 #2F1A0F
monochromatic
#071715 #071715 #0F2F2A #1E5D53 #2D8C7D

Accessibility & contrast

On white

14.38
#0F2F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2F2A
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F2A#FFFFFF#000000##FFFFFF
##0F2F2A1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2A
Deuteranopia (green-blind)
#28282A
Tritanopia (blue-blind)
#00302D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2f2a;
/* rgb */ color: rgb(15, 47, 42);
/* oklch */ color: oklch(28.0% 0.039 181.6);
Tailwind
colors: {
  custom: {
    50: '#516763',
    500: '#0f2f2a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f2a;
$custom-light: #516763;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f2a",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 170.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27961,
    "c": 0.03872,
    "h": 181.6
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#0F2F2A
secondary
#69313A
accent
#4D63DB
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0F2F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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