#05231C#05231C

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

Color values

HEX#05231C
RGBrgb(5, 35, 28)
HSLhsl(166, 75%, 8%)
HSVhsv(166, 86%, 14%)
CMYKcmyk(85.7%, 0%, 20%, 86.3%)
CIE-LABlab(11.40, -13.39, 1.45)
CIE-LCHlch(11.40, 13.47, 173.81°)
OKLaboklab(23.14% -0.038 0.0036)
OKLCHoklch(23.14% 0.038 174.5)
XYZxyz(0.8731, 1.3181, 1.3068)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05231C #23050C
analogous
#05230D #05231C #051B23
triadic
#05231C #1C0523 #231C05
tetradic
#05231C #0D0523 #23050C #1B2305
square
#05231C #0D0523 #23050C #1B2305
split-complementary
#05231C #23051B #230D05
monochromatic
#041B15 #041B15 #05231C #0D5947 #148E72

Accessibility & contrast

On white

16.62
#05231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05231C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05231C#FFFFFF#000000##FFFFFF
##05231C1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201C
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05231c;
/* rgb */ color: rgb(5, 35, 28);
/* oklch */ color: oklch(23.1% 0.038 174.5);
Tailwind
colors: {
  custom: {
    50: '#495e57',
    500: '#05231c',
    950: '#000000',
  },
}
SCSS
$custom: #05231c;
$custom-light: #495e57;
$custom-dark: #000000;
JSON
{
  "hex": "#05231c",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 166,
    "s": 75,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23141,
    "c": 0.03817,
    "h": 174.5
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#05231C
secondary
#641F2F
accent
#3662F2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05231C

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

Preview Lab → · Contrast checker → · Palette generator →

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