#0F271B#0F271B

#0F271B is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.038 H 160.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#0F271B
RGBrgb(15, 39, 27)
HSLhsl(150, 44%, 11%)
HSVhsv(150, 62%, 15%)
CMYKcmyk(61.5%, 0%, 30.8%, 84.7%)
CIE-LABlab(13.42, -13.03, 5.10)
CIE-LCHlch(13.42, 13.99, 158.61°)
OKLaboklab(24.9% -0.0359 0.0131)
OKLCHoklch(24.9% 0.038 160)
XYZxyz(1.1203, 1.6316, 1.2926)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F271B #270F1B
analogous
#0F270F #0F271B #0F2727
triadic
#0F271B #1B0F27 #271B0F
tetradic
#0F271B #0F0F27 #270F1B #27270F
square
#0F271B #0F0F27 #270F1B #27270F
split-complementary
#0F271B #270F27 #270F0F
monochromatic
#09160F #09160F #0F271B #20533A #317F58

Accessibility & contrast

On white

15.83
#0F271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F271B
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F271B#FFFFFF#000000##FFFFFF
##0F271B1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#23211C
Tritanopia (blue-blind)
#082724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f271b;
/* rgb */ color: rgb(15, 39, 27);
/* oklch */ color: oklch(24.9% 0.038 160.0);
Tailwind
colors: {
  custom: {
    50: '#4f6157',
    500: '#0f271b',
    950: '#000000',
  },
}
SCSS
$custom: #0f271b;
$custom-light: #4f6157;
$custom-dark: #000000;
JSON
{
  "hex": "#0f271b",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 150,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.24902,
    "c": 0.03822,
    "h": 160
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#0F271B
secondary
#603249
accent
#5494D4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F271B

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

Preview Lab → · Contrast checker → · Palette generator →

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