#05231F#05231F

#05231F is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.3% C 0.036 H 182.8°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#05231F
RGBrgb(5, 35, 31)
HSLhsl(172, 75%, 8%)
HSVhsv(172, 86%, 14%)
CMYKcmyk(85.7%, 0%, 11.4%, 86.3%)
CIE-LABlab(11.51, -12.36, -0.58)
CIE-LCHlch(11.51, 12.37, 182.68°)
OKLaboklab(23.26% -0.0362 -0.0018)
OKLCHoklch(23.26% 0.036 182.8)
XYZxyz(0.9108, 1.3332, 1.5054)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05231F #230509
analogous
#052310 #05231F #051823
triadic
#05231F #1F0523 #231F05
tetradic
#05231F #100523 #230509 #182305
square
#05231F #100523 #230509 #182305
split-complementary
#05231F #230518 #231005
monochromatic
#041B18 #041B18 #05231F #0D594E #148E7E

Accessibility & contrast

On white

16.58
#05231F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#05231F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05231F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05231F#FFFFFF#000000##FFFFFF
##05231F1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201F
Deuteranopia (green-blind)
#1C1D1F
Tritanopia (blue-blind)
#002422
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05231f;
/* rgb */ color: rgb(5, 35, 31);
/* oklch */ color: oklch(23.3% 0.036 182.8);
Tailwind
colors: {
  custom: {
    50: '#495e5a',
    500: '#05231f',
    950: '#000000',
  },
}
SCSS
$custom: #05231f;
$custom-light: #495e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05231f",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 172,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.0362,
    "h": 182.8
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#05231F
secondary
#641F29
accent
#364FF2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05231F

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

Preview Lab → · Contrast checker → · Palette generator →

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