#042F33#042F33

#042F33 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.0% C 0.045 H 204.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#042F33
RGBrgb(4, 47, 51)
HSLhsl(185, 85%, 11%)
HSVhsv(185, 92%, 20%)
CMYKcmyk(92.2%, 7.8%, 0%, 80%)
CIE-LABlab(16.98, -12.32, -6.66)
CIE-LCHlch(16.98, 14.00, 208.39°)
OKLaboklab(27.96% -0.0408 -0.0185)
OKLCHoklch(27.96% 0.045 204.4)
XYZxyz(1.6639, 2.2976, 3.4871)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F33 #330804
analogous
#04331F #042F33 #041733
triadic
#042F33 #33042F #2F3304
tetradic
#042F33 #1F0433 #330804 #173304
square
#042F33 #1F0433 #330804 #173304
split-complementary
#042F33 #330417 #331F04
monochromatic
#021A1C #021A1C #042F33 #08636C #0D98A4

Accessibility & contrast

On white

14.39
#042F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#042F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F33
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F33#FFFFFF#000000##FFFFFF
##042F331.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D33
Deuteranopia (green-blind)
#242833
Tritanopia (blue-blind)
#003130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f33;
/* rgb */ color: rgb(4, 47, 51);
/* oklch */ color: oklch(28.0% 0.045 204.4);
Tailwind
colors: {
  custom: {
    50: '#4e676a',
    500: '#042f33',
    950: '#000000',
  },
}
SCSS
$custom: #042f33;
$custom-light: #4e676a;
$custom-dark: #000000;
JSON
{
  "hex": "#042f33",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 185.106,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27956,
    "c": 0.04485,
    "h": 204.4
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#042F33
secondary
#75251D
accent
#3E2CFC
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F33

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

Preview Lab → · Contrast checker → · Palette generator →

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