#042B26#042B26

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

Color values

HEX#042B26
RGBrgb(4, 43, 38)
HSLhsl(172, 83%, 9%)
HSVhsv(172, 91%, 17%)
CMYKcmyk(90.7%, 0%, 11.6%, 83.1%)
CIE-LABlab(14.92, -14.82, -0.60)
CIE-LCHlch(14.92, 14.83, 182.33°)
OKLaboklab(26.11% -0.0432 -0.0019)
OKLCHoklch(26.11% 0.043 182.5)
XYZxyz(1.2636, 1.8934, 2.1322)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B26 #2B0409
analogous
#042B13 #042B26 #041D2B
triadic
#042B26 #26042B #2B2604
tetradic
#042B26 #13042B #2B0409 #1D2B04
square
#042B26 #13042B #2B0409 #1D2B04
split-complementary
#042B26 #2B041D #2B1304
monochromatic
#031C19 #031C19 #042B26 #096357 #0E9B89

Accessibility & contrast

On white

15.23
#042B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B26
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B26#FFFFFF#000000##FFFFFF
##042B261.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #042b26;
/* rgb */ color: rgb(4, 43, 38);
/* oklch */ color: oklch(26.1% 0.043 182.5);
Tailwind
colors: {
  custom: {
    50: '#4b6460',
    500: '#042b26',
    950: '#000000',
  },
}
SCSS
$custom: #042b26;
$custom-light: #4b6460;
$custom-dark: #000000;
JSON
{
  "hex": "#042b26",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 172.308,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26114,
    "c": 0.04329,
    "h": 182.5
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#042B26
secondary
#6E1D27
accent
#2E48F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #042B26

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

Preview Lab → · Contrast checker → · Palette generator →

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