#0F271E#0F271E

#0F271E is a dark, muted teal. Relative luminance 0.016; OKLCH L 25.0% C 0.035 H 166.9°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#0F271E
RGBrgb(15, 39, 30)
HSLhsl(158, 44%, 11%)
HSVhsv(158, 62%, 15%)
CMYKcmyk(61.5%, 0%, 23.1%, 84.7%)
CIE-LABlab(13.51, -12.18, 3.10)
CIE-LCHlch(13.51, 12.57, 165.74°)
OKLaboklab(25% -0.0341 0.0079)
OKLCHoklch(25% 0.035 166.9)
XYZxyz(1.1568, 1.6462, 1.4848)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F271E #270F18
analogous
#0F2712 #0F271E #0F2427
triadic
#0F271E #1E0F27 #271E0F
tetradic
#0F271E #120F27 #270F18 #24270F
square
#0F271E #120F27 #270F18 #24270F
split-complementary
#0F271E #270F24 #27120F
monochromatic
#091611 #091611 #0F271E #205340 #317F62

Accessibility & contrast

On white

15.80
#0F271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F271E
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F271E#FFFFFF#000000##FFFFFF
##0F271E1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241E
Deuteranopia (green-blind)
#22211F
Tritanopia (blue-blind)
#072724
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f271e;
/* rgb */ color: rgb(15, 39, 30);
/* oklch */ color: oklch(25.0% 0.035 166.9);
Tailwind
colors: {
  custom: {
    50: '#4f6159',
    500: '#0f271e',
    950: '#000000',
  },
}
SCSS
$custom: #0f271e;
$custom-light: #4f6159;
$custom-dark: #000000;
JSON
{
  "hex": "#0f271e",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 157.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.25002,
    "c": 0.03502,
    "h": 166.9
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#0F271E
secondary
#603243
accent
#5484D4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0F271E

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

Preview Lab → · Contrast checker → · Palette generator →

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