#042B2E#042B2E

#042B2E is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.5% C 0.042 H 202.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#042B2E
RGBrgb(4, 43, 46)
HSLhsl(184, 84%, 10%)
HSVhsv(184, 91%, 18%)
CMYKcmyk(91.3%, 6.5%, 0%, 82%)
CIE-LABlab(15.23, -11.83, -5.80)
CIE-LCHlch(15.23, 13.17, 206.11°)
OKLaboklab(26.47% -0.0387 -0.0161)
OKLCHoklch(26.47% 0.042 202.6)
XYZxyz(1.4069, 1.9506, 2.8866)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B2E #2E0704
analogous
#042E1C #042B2E #04162E
triadic
#042B2E #2E042B #2B2E04
tetradic
#042B2E #1C042E #2E0704 #162E04
square
#042B2E #1C042E #2E0704 #162E04
split-complementary
#042B2E #2E0416 #2E1C04
monochromatic
#021A1C #021A1C #042B2E #096066 #0E949F

Accessibility & contrast

On white

15.11
#042B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#042B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042B2E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B2E#FFFFFF#000000##FFFFFF
##042B2E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042b2e;
/* rgb */ color: rgb(4, 43, 46);
/* oklch */ color: oklch(26.5% 0.042 202.6);
Tailwind
colors: {
  custom: {
    50: '#4c6466',
    500: '#042b2e',
    950: '#000000',
  },
}
SCSS
$custom: #042b2e;
$custom-light: #4c6466;
$custom-dark: #000000;
JSON
{
  "hex": "#042b2e",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 184.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26467,
    "c": 0.0419,
    "h": 202.6
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#042B2E
secondary
#71231D
accent
#3C2EFA
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#010506
muted
#777A7A

Preview Lab

Preview with #042B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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