#042A2B#042A2B

#042A2B is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.0% C 0.041 H 197.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#042A2B
RGBrgb(4, 42, 43)
HSLhsl(182, 83%, 9%)
HSVhsv(182, 91%, 17%)
CMYKcmyk(90.7%, 2.3%, 0%, 83.1%)
CIE-LABlab(14.71, -12.38, -4.45)
CIE-LCHlch(14.71, 13.16, 199.76°)
OKLaboklab(26.01% -0.0391 -0.0124)
OKLCHoklch(26.01% 0.041 197.5)
XYZxyz(1.3139, 1.8560, 2.5740)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A2B #2B0504
analogous
#042B19 #042A2B #04172B
triadic
#042A2B #2B042A #2A2B04
tetradic
#042A2B #19042B #2B0504 #172B04
square
#042A2B #19042B #2B0504 #172B04
split-complementary
#042A2B #2B0417 #2B1904
monochromatic
#031B1C #031B1C #042A2B #096163 #0E979B

Accessibility & contrast

On white

15.32
#042A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#042A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042A2B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A2B#FFFFFF#000000##FFFFFF
##042A2B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#21232B
Tritanopia (blue-blind)
#002C2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042a2b;
/* rgb */ color: rgb(4, 42, 43);
/* oklch */ color: oklch(26.0% 0.041 197.5);
Tailwind
colors: {
  custom: {
    50: '#4c6364',
    500: '#042a2b',
    950: '#000000',
  },
}
SCSS
$custom: #042a2b;
$custom-light: #4c6364;
$custom-dark: #000000;
JSON
{
  "hex": "#042a2b",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 181.538,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2601,
    "c": 0.041,
    "h": 197.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#042A2B
secondary
#6E1F1D
accent
#342EF9
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#010505
muted
#777979

Preview Lab

Preview with #042A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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