#05301F#05301F

#05301F is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.5% C 0.056 H 161.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#05301F
RGBrgb(5, 48, 31)
HSLhsl(156, 81%, 10%)
HSVhsv(156, 90%, 19%)
CMYKcmyk(89.6%, 0%, 35.4%, 81.2%)
CIE-LABlab(16.72, -19.46, 6.85)
CIE-LCHlch(16.72, 20.63, 160.60°)
OKLaboklab(27.53% -0.0531 0.0174)
OKLCHoklch(27.53% 0.056 161.8)
XYZxyz(1.3667, 2.2449, 1.6573)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05301F #300516
analogous
#053009 #05301F #052B30
triadic
#05301F #1F0530 #301F05
tetradic
#05301F #090530 #300516 #2B3005
square
#05301F #090530 #300516 #2B3005
split-complementary
#05301F #30052B #300905
monochromatic
#031C12 #031C12 #05301F #0B6743 #119F67

Accessibility & contrast

On white

14.49
#05301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#05301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05301F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05301F#FFFFFF#000000##FFFFFF
##05301F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C1E
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05301f;
/* rgb */ color: rgb(5, 48, 31);
/* oklch */ color: oklch(27.5% 0.056 161.8);
Tailwind
colors: {
  custom: {
    50: '#4d695a',
    500: '#05301f',
    950: '#000000',
  },
}
SCSS
$custom: #05301f;
$custom-light: #4d695a;
$custom-dark: #000000;
JSON
{
  "hex": "#05301f",
  "rgb": {
    "r": 5,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 156.279,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.05589,
    "h": 161.8
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#05301F
secondary
#721F40
accent
#307FF8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #05301F

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

Preview Lab → · Contrast checker → · Palette generator →

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