#05301B#05301B

#05301B is a dark, moderate teal. Relative luminance 0.022; OKLCH L 27.4% C 0.060 H 156.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#05301B
RGBrgb(5, 48, 27)
HSLhsl(151, 81%, 10%)
HSVhsv(151, 90%, 19%)
CMYKcmyk(89.6%, 0%, 43.8%, 81.2%)
CIE-LABlab(16.63, -20.53, 9.43)
CIE-LCHlch(16.63, 22.60, 155.32°)
OKLaboklab(27.42% -0.0555 0.0237)
OKLCHoklch(27.42% 0.06 156.9)
XYZxyz(1.3172, 2.2251, 1.3968)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05301B #30051A
analogous
#053006 #05301B #052F30
triadic
#05301B #1B0530 #301B05
tetradic
#05301B #060530 #30051A #2F3005
square
#05301B #060530 #30051A #2F3005
split-complementary
#05301B #30052F #300605
monochromatic
#031C10 #031C10 #05301B #0B673A #119F59

Accessibility & contrast

On white

14.53
#05301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05301B
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05301B#FFFFFF#000000##FFFFFF
##05301B1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B1A
Deuteranopia (green-blind)
#2A281C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #05301b;
/* rgb */ color: rgb(5, 48, 27);
/* oklch */ color: oklch(27.4% 0.060 156.9);
Tailwind
colors: {
  custom: {
    50: '#4c6957',
    500: '#05301b',
    950: '#000000',
  },
}
SCSS
$custom: #05301b;
$custom-light: #4c6957;
$custom-dark: #000000;
JSON
{
  "hex": "#05301b",
  "rgb": {
    "r": 5,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 150.698,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27423,
    "c": 0.06034,
    "h": 156.9
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#05301B
secondary
#721F47
accent
#3092F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #05301B

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

Preview Lab → · Contrast checker → · Palette generator →

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