#042C30#042C30

#042C30 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.9% C 0.043 H 204.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#042C30
RGBrgb(4, 44, 48)
HSLhsl(185, 85%, 10%)
HSVhsv(185, 92%, 19%)
CMYKcmyk(91.7%, 8.3%, 0%, 81.2%)
CIE-LABlab(15.70, -11.66, -6.49)
CIE-LCHlch(15.70, 13.35, 209.11°)
OKLaboklab(26.88% -0.0388 -0.0181)
OKLCHoklch(26.88% 0.043 204.9)
XYZxyz(1.4840, 2.0404, 3.1114)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C30 #300804
analogous
#04301E #042C30 #041630
triadic
#042C30 #30042C #2C3004
tetradic
#042C30 #1E0430 #300804 #163004
square
#042C30 #1E0430 #300804 #163004
split-complementary
#042C30 #300416 #301E04
monochromatic
#021A1C #021A1C #042C30 #096068 #0D94A1

Accessibility & contrast

On white

14.91
#042C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C30
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C30#FFFFFF#000000##FFFFFF
##042C301.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A30
Deuteranopia (green-blind)
#212530
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c30;
/* rgb */ color: rgb(4, 44, 48);
/* oklch */ color: oklch(26.9% 0.043 204.9);
Tailwind
colors: {
  custom: {
    50: '#4d6568',
    500: '#042c30',
    950: '#000000',
  },
}
SCSS
$custom: #042c30;
$custom-light: #4d6568;
$custom-dark: #000000;
JSON
{
  "hex": "#042c30",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 48
  },
  "hsl": {
    "h": 185.455,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26877,
    "c": 0.04282,
    "h": 204.9
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#042C30
secondary
#72251D
accent
#402DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042C30

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

Preview Lab → · Contrast checker → · Palette generator →

#042C30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva