#042A2D#042A2D

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

Color values

HEX#042A2D
RGBrgb(4, 42, 45)
HSLhsl(184, 84%, 10%)
HSVhsv(184, 91%, 18%)
CMYKcmyk(91.1%, 6.7%, 0%, 82.4%)
CIE-LABlab(14.80, -11.60, -5.74)
CIE-LCHlch(14.80, 12.95, 206.32°)
OKLaboklab(26.1% -0.038 -0.016)
OKLCHoklch(26.1% 0.041 202.8)
XYZxyz(1.3515, 1.8710, 2.7720)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042A2D #2D0704
analogous
#042D1C #042A2D #04162D
triadic
#042A2D #2D042A #2A2D04
tetradic
#042A2D #1C042D #2D0704 #162D04
square
#042A2D #1C042D #2D0704 #162D04
split-complementary
#042A2D #2D0416 #2D1C04
monochromatic
#021A1C #021A1C #042A2D #095E65 #0E939D

Accessibility & contrast

On white

15.28
#042A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042A2D
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042A2D#FFFFFF#000000##FFFFFF
##042A2D1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#20232D
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042a2d;
/* rgb */ color: rgb(4, 42, 45);
/* oklch */ color: oklch(26.1% 0.041 202.8);
Tailwind
colors: {
  custom: {
    50: '#4c6365',
    500: '#042a2d',
    950: '#000000',
  },
}
SCSS
$custom: #042a2d;
$custom-light: #4c6365;
$custom-dark: #000000;
JSON
{
  "hex": "#042a2d",
  "rgb": {
    "r": 4,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 184.39,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26104,
    "c": 0.0412,
    "h": 202.8
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#042A2D
secondary
#70231D
accent
#3D2EFA
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#010505
muted
#77797A

Preview Lab

Preview with #042A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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