#04231B#04231B

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

Color values

HEX#04231B
RGBrgb(4, 35, 27)
HSLhsl(165, 79%, 8%)
HSVhsv(165, 89%, 14%)
CMYKcmyk(88.6%, 0%, 22.9%, 86.3%)
CIE-LABlab(11.32, -14.04, 2.06)
CIE-LCHlch(11.32, 14.19, 171.64°)
OKLaboklab(23.05% -0.0395 0.0052)
OKLCHoklch(23.05% 0.04 172.5)
XYZxyz(0.8488, 1.3069, 1.2442)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04231B #23040C
analogous
#04230B #04231B #041B23
triadic
#04231B #1B0423 #231B04
tetradic
#04231B #0B0423 #23040C #1B2304
square
#04231B #0B0423 #23040C #1B2304
split-complementary
#04231B #23041B #230B04
monochromatic
#031B15 #031B15 #04231B #0A5A45 #119170

Accessibility & contrast

On white

16.65
#04231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04231B
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04231B#FFFFFF#000000##FFFFFF
##04231B1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.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: #04231b;
/* rgb */ color: rgb(4, 35, 27);
/* oklch */ color: oklch(23.1% 0.040 172.5);
Tailwind
colors: {
  custom: {
    50: '#485e57',
    500: '#04231b',
    950: '#000000',
  },
}
SCSS
$custom: #04231b;
$custom-light: #485e57;
$custom-dark: #000000;
JSON
{
  "hex": "#04231b",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 164.516,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23054,
    "c": 0.03986,
    "h": 172.5
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#04231B
secondary
#661D30
accent
#3264F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04231B

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

Preview Lab → · Contrast checker → · Palette generator →

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