#05231B#05231B

#05231B is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.1% C 0.039 H 172.0°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#05231B
RGBrgb(5, 35, 27)
HSLhsl(164, 75%, 8%)
HSVhsv(164, 86%, 14%)
CMYKcmyk(85.7%, 0%, 22.9%, 86.3%)
CIE-LABlab(11.37, -13.73, 2.13)
CIE-LCHlch(11.37, 13.89, 171.17°)
OKLaboklab(23.1% -0.0386 0.0054)
OKLCHoklch(23.1% 0.039 172)
XYZxyz(0.8613, 1.3134, 1.2448)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05231B #23050D
analogous
#05230C #05231B #051C23
triadic
#05231B #1B0523 #231B05
tetradic
#05231B #0C0523 #23050D #1C2305
square
#05231B #0C0523 #23050D #1C2305
split-complementary
#05231B #23051C #230C05
monochromatic
#041B15 #041B15 #05231B #0D5944 #148E6E

Accessibility & contrast

On white

16.63
#05231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#05231B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05231B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05231B#FFFFFF#000000##FFFFFF
##05231B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22201B
Deuteranopia (green-blind)
#1D1D1C
Tritanopia (blue-blind)
#002321
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05231b;
/* rgb */ color: rgb(5, 35, 27);
/* oklch */ color: oklch(23.1% 0.039 172.0);
Tailwind
colors: {
  custom: {
    50: '#495e57',
    500: '#05231b',
    950: '#000000',
  },
}
SCSS
$custom: #05231b;
$custom-light: #495e57;
$custom-dark: #000000;
JSON
{
  "hex": "#05231b",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 164,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23104,
    "c": 0.03901,
    "h": 172
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#05231B
secondary
#641F32
accent
#3668F2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05231B

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

Preview Lab → · Contrast checker → · Palette generator →

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