#042F30#042F30

#042F30 is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.044 H 197.3°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#042F30
RGBrgb(4, 47, 48)
HSLhsl(181, 85%, 10%)
HSVhsv(181, 92%, 19%)
CMYKcmyk(91.7%, 2.1%, 0%, 81.2%)
CIE-LABlab(16.85, -13.48, -4.75)
CIE-LCHlch(16.85, 14.29, 199.42°)
OKLaboklab(27.82% -0.0425 -0.0132)
OKLCHoklch(27.82% 0.044 197.3)
XYZxyz(1.5998, 2.2720, 3.1500)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F30 #300504
analogous
#04301B #042F30 #041930
triadic
#042F30 #30042F #2F3004
tetradic
#042F30 #1B0430 #300504 #193004
square
#042F30 #1B0430 #300504 #193004
split-complementary
#042F30 #300419 #301B04
monochromatic
#021C1C #021C1C #042F30 #096668 #0D9EA1

Accessibility & contrast

On white

14.44
#042F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#042F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F30
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F30#FFFFFF#000000##FFFFFF
##042F301.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C30
Deuteranopia (green-blind)
#252830
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f30;
/* rgb */ color: rgb(4, 47, 48);
/* oklch */ color: oklch(27.8% 0.044 197.3);
Tailwind
colors: {
  custom: {
    50: '#4d6768',
    500: '#042f30',
    950: '#000000',
  },
}
SCSS
$custom: #042f30;
$custom-light: #4d6768;
$custom-dark: #000000;
JSON
{
  "hex": "#042f30",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 181.364,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27815,
    "c": 0.04449,
    "h": 197.3
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#042F30
secondary
#721F1D
accent
#322DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F30

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

Preview Lab → · Contrast checker → · Palette generator →

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