#08251F#08251F

#08251F is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.1% C 0.036 H 177.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#08251F
RGBrgb(8, 37, 31)
HSLhsl(168, 64%, 9%)
HSVhsv(168, 78%, 15%)
CMYKcmyk(78.4%, 0%, 16.2%, 85.5%)
CIE-LABlab(12.44, -12.70, 0.80)
CIE-LCHlch(12.44, 12.72, 176.40°)
OKLaboklab(24.06% -0.0364 0.0019)
OKLCHoklch(24.06% 0.036 177)
XYZxyz(1.0089, 1.4736, 1.5273)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08251F #25080E
analogous
#082511 #08251F #081D25
triadic
#08251F #1F0825 #251F08
tetradic
#08251F #110825 #25080E #1D2508
square
#08251F #110825 #25080E #1D2508
split-complementary
#08251F #25081D #251108
monochromatic
#051915 #051915 #08251F #135749 #1E8A73

Accessibility & contrast

On white

16.22
#08251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#08251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08251F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08251F#FFFFFF#000000##FFFFFF
##08251F1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#1F1F1F
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #08251f;
/* rgb */ color: rgb(8, 37, 31);
/* oklch */ color: oklch(24.1% 0.036 177.0);
Tailwind
colors: {
  custom: {
    50: '#4b5f5a',
    500: '#08251f',
    950: '#000000',
  },
}
SCSS
$custom: #08251f;
$custom-light: #4b5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08251f",
  "rgb": {
    "r": 8,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 167.586,
    "s": 64.444,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24057,
    "c": 0.03647,
    "h": 177
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#08251F
secondary
#632632
accent
#4063E7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #08251F

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

Preview Lab → · Contrast checker → · Palette generator →

#08251F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva