#05381F#05381F

#05381F is a dark, moderate teal. Relative luminance 0.030; OKLCH L 30.1% C 0.069 H 156.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#05381F
RGBrgb(5, 56, 31)
HSLhsl(151, 84%, 12%)
HSVhsv(151, 91%, 22%)
CMYKcmyk(91.1%, 0%, 44.6%, 78%)
CIE-LABlab(19.88, -23.29, 11.14)
CIE-LCHlch(19.88, 25.81, 154.44°)
OKLaboklab(30.14% -0.0628 0.0278)
OKLCHoklch(30.14% 0.069 156.1)
XYZxyz(1.7239, 2.9593, 1.7764)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05381F #38051E
analogous
#053805 #05381F #053838
triadic
#05381F #1F0538 #381F05
tetradic
#05381F #050538 #38051E #383805
square
#05381F #050538 #38051E #383805
split-complementary
#05381F #380538 #380505
monochromatic
#031C10 #031C10 #05381F #0A703E #0FA85D

Accessibility & contrast

On white

13.19
#05381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#05381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05381F
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05381F#FFFFFF#000000##FFFFFF
##05381F1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322E21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #05381f;
/* rgb */ color: rgb(5, 56, 31);
/* oklch */ color: oklch(30.1% 0.069 156.1);
Tailwind
colors: {
  custom: {
    50: '#4f6f5a',
    500: '#05381f',
    950: '#000000',
  },
}
SCSS
$custom: #05381f;
$custom-light: #4f6f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05381f",
  "rgb": {
    "r": 5,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 150.588,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30136,
    "c": 0.06869,
    "h": 156.1
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#05381F
secondary
#79204C
accent
#2E92FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #05381F

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

Preview Lab → · Contrast checker → · Palette generator →

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