#042B25#042B25

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

Color values

HEX#042B25
RGBrgb(4, 43, 37)
HSLhsl(171, 83%, 9%)
HSVhsv(171, 91%, 17%)
CMYKcmyk(90.7%, 0%, 14%, 83.1%)
CIE-LABlab(14.88, -15.17, 0.05)
CIE-LCHlch(14.88, 15.17, 179.80°)
OKLaboklab(26.07% -0.0438 -0.0001)
OKLCHoklch(26.07% 0.044 180.1)
XYZxyz(1.2477, 1.8870, 2.0484)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B25 #2B040A
analogous
#042B12 #042B25 #041E2B
triadic
#042B25 #25042B #2B2504
tetradic
#042B25 #12042B #2B040A #1E2B04
square
#042B25 #12042B #2B040A #1E2B04
split-complementary
#042B25 #2B041E #2B1204
monochromatic
#031C18 #031C18 #042B25 #096355 #0E9B85

Accessibility & contrast

On white

15.25
#042B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#042B25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B25
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B25#FFFFFF#000000##FFFFFF
##042B251.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292825
Deuteranopia (green-blind)
#232426
Tritanopia (blue-blind)
#002C29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #042b25;
/* rgb */ color: rgb(4, 43, 37);
/* oklch */ color: oklch(26.1% 0.044 180.1);
Tailwind
colors: {
  custom: {
    50: '#4b645f',
    500: '#042b25',
    950: '#000000',
  },
}
SCSS
$custom: #042b25;
$custom-light: #4b645f;
$custom-dark: #000000;
JSON
{
  "hex": "#042b25",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 37
  },
  "hsl": {
    "h": 170.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26074,
    "c": 0.04384,
    "h": 180.1
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#042B25
secondary
#6E1D29
accent
#2E4EF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #042B25

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

Preview Lab → · Contrast checker → · Palette generator →

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