#042B27#042B27

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

Color values

HEX#042B27
RGBrgb(4, 43, 39)
HSLhsl(174, 83%, 9%)
HSVhsv(174, 91%, 17%)
CMYKcmyk(90.7%, 0%, 9.3%, 83.1%)
CIE-LABlab(14.95, -14.46, -1.26)
CIE-LCHlch(14.95, 14.51, 184.97°)
OKLaboklab(26.15% -0.0427 -0.0036)
OKLCHoklch(26.15% 0.043 184.9)
XYZxyz(1.2800, 1.8999, 2.2183)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B27 #2B0408
analogous
#042B14 #042B27 #041C2B
triadic
#042B27 #27042B #2B2704
tetradic
#042B27 #14042B #2B0408 #1C2B04
square
#042B27 #14042B #2B0408 #1C2B04
split-complementary
#042B27 #2B041C #2B1404
monochromatic
#031C19 #031C19 #042B27 #09635A #0E9B8D

Accessibility & contrast

On white

15.22
#042B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B27
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B27#FFFFFF#000000##FFFFFF
##042B271.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#232427
Tritanopia (blue-blind)
#002C2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042b27;
/* rgb */ color: rgb(4, 43, 39);
/* oklch */ color: oklch(26.2% 0.043 184.9);
Tailwind
colors: {
  custom: {
    50: '#4b6461',
    500: '#042b27',
    950: '#000000',
  },
}
SCSS
$custom: #042b27;
$custom-light: #4b6461;
$custom-dark: #000000;
JSON
{
  "hex": "#042b27",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 39
  },
  "hsl": {
    "h": 173.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26154,
    "c": 0.04281,
    "h": 184.9
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#042B27
secondary
#6E1D25
accent
#2E43F9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010505
muted
#777A79

Preview Lab

Preview with #042B27

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

Preview Lab → · Contrast checker → · Palette generator →

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