#042B2F#042B2F

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

Color values

HEX#042B2F
RGBrgb(4, 43, 47)
HSLhsl(186, 84%, 10%)
HSVhsv(186, 91%, 18%)
CMYKcmyk(91.5%, 8.5%, 0%, 81.6%)
CIE-LABlab(15.27, -11.44, -6.44)
CIE-LCHlch(15.27, 13.12, 209.38°)
OKLaboklab(26.52% -0.0381 -0.0179)
OKLCHoklch(26.52% 0.042 205.2)
XYZxyz(1.4268, 1.9586, 2.9916)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B2F #2F0804
analogous
#042F1D #042B2F #04162F
triadic
#042B2F #2F042B #2B2F04
tetradic
#042B2F #1D042F #2F0804 #162F04
square
#042B2F #1D042F #2F0804 #162F04
split-complementary
#042B2F #2F0416 #2F1D04
monochromatic
#021A1C #021A1C #042B2F #095F67 #0E92A0

Accessibility & contrast

On white

15.09
#042B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B2F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B2F#FFFFFF#000000##FFFFFF
##042B2F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26292F
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042b2f;
/* rgb */ color: rgb(4, 43, 47);
/* oklch */ color: oklch(26.5% 0.042 205.2);
Tailwind
colors: {
  custom: {
    50: '#4d6467',
    500: '#042b2f',
    950: '#000000',
  },
}
SCSS
$custom: #042b2f;
$custom-light: #4d6467;
$custom-dark: #000000;
JSON
{
  "hex": "#042b2f",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 185.581,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.26516,
    "c": 0.04213,
    "h": 205.2
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#042B2F
secondary
#72251D
accent
#402DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#010506
muted
#777A7A

Preview Lab

Preview with #042B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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