#0F271F#0F271F

#0F271F is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.0% C 0.034 H 169.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0F271F
RGBrgb(15, 39, 31)
HSLhsl(160, 44%, 11%)
HSVhsv(160, 62%, 15%)
CMYKcmyk(61.5%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.54, -11.89, 2.43)
CIE-LCHlch(13.54, 12.13, 168.47°)
OKLaboklab(25.04% -0.0335 0.0062)
OKLCHoklch(25.04% 0.034 169.5)
XYZxyz(1.1697, 1.6514, 1.5532)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F271F #270F17
analogous
#0F2713 #0F271F #0F2327
triadic
#0F271F #1F0F27 #271F0F
tetradic
#0F271F #130F27 #270F17 #23270F
square
#0F271F #130F27 #270F17 #23270F
split-complementary
#0F271F #270F23 #27130F
monochromatic
#091612 #091612 #0F271F #205342 #317F65

Accessibility & contrast

On white

15.78
#0F271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F271F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F271F#FFFFFF#000000##FFFFFF
##0F271F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#222220
Tritanopia (blue-blind)
#072725
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f271f;
/* rgb */ color: rgb(15, 39, 31);
/* oklch */ color: oklch(25.0% 0.034 169.5);
Tailwind
colors: {
  custom: {
    50: '#4f615a',
    500: '#0f271f',
    950: '#000000',
  },
}
SCSS
$custom: #0f271f;
$custom-light: #4f615a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f271f",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 160,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.25038,
    "c": 0.03409,
    "h": 169.5
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#0F271F
secondary
#603241
accent
#547ED4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F271F

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

Preview Lab → · Contrast checker → · Palette generator →

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