#04301B#04301B

#04301B is a dark, moderate teal. Relative luminance 0.022; OKLCH L 27.4% C 0.061 H 157.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#04301B
RGBrgb(4, 48, 27)
HSLhsl(151, 85%, 10%)
HSVhsv(151, 92%, 19%)
CMYKcmyk(91.7%, 0%, 43.8%, 81.2%)
CIE-LABlab(16.60, -20.78, 9.39)
CIE-LCHlch(16.60, 22.80, 155.69°)
OKLaboklab(27.39% -0.0561 0.0236)
OKLCHoklch(27.39% 0.061 157.2)
XYZxyz(1.3047, 2.2187, 1.3962)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04301B #300419
analogous
#043005 #04301B #042F30
triadic
#04301B #1B0430 #301B04
tetradic
#04301B #050430 #300419 #2F3004
square
#04301B #050430 #300419 #2F3004
split-complementary
#04301B #30042F #300504
monochromatic
#021C10 #021C10 #04301B #09683B #0DA15B

Accessibility & contrast

On white

14.54
#04301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#04301B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04301B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04301B#FFFFFF#000000##FFFFFF
##04301B1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B1A
Deuteranopia (green-blind)
#2A271C
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #04301b;
/* rgb */ color: rgb(4, 48, 27);
/* oklch */ color: oklch(27.4% 0.061 157.2);
Tailwind
colors: {
  custom: {
    50: '#4c6957',
    500: '#04301b',
    950: '#000000',
  },
}
SCSS
$custom: #04301b;
$custom-light: #4c6957;
$custom-dark: #000000;
JSON
{
  "hex": "#04301b",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 151.364,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27387,
    "c": 0.0609,
    "h": 157.2
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#04301B
secondary
#721D46
accent
#2D8FFB
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #04301B

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

Preview Lab → · Contrast checker → · Palette generator →

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