#042B30#042B30

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

Color values

HEX#042B30
RGBrgb(4, 43, 48)
HSLhsl(187, 85%, 10%)
HSVhsv(187, 92%, 19%)
CMYKcmyk(91.7%, 10.4%, 0%, 81.2%)
CIE-LABlab(15.31, -11.04, -7.08)
CIE-LCHlch(15.31, 13.11, 212.67°)
OKLaboklab(26.57% -0.0376 -0.0197)
OKLCHoklch(26.57% 0.042 207.7)
XYZxyz(1.4472, 1.9668, 3.0991)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042B30 #300904
analogous
#04301F #042B30 #041530
triadic
#042B30 #30042B #2B3004
tetradic
#042B30 #1F0430 #300904 #153004
square
#042B30 #1F0430 #300904 #153004
split-complementary
#042B30 #300415 #301F04
monochromatic
#02191C #02191C #042B30 #095E68 #0D90A1

Accessibility & contrast

On white

15.07
#042B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #042B30
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042B30#FFFFFF#000000##FFFFFF
##042B301.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#202430
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #042b30;
/* rgb */ color: rgb(4, 43, 48);
/* oklch */ color: oklch(26.6% 0.042 207.7);
Tailwind
colors: {
  custom: {
    50: '#4d6468',
    500: '#042b30',
    950: '#000000',
  },
}
SCSS
$custom: #042b30;
$custom-light: #4d6468;
$custom-dark: #000000;
JSON
{
  "hex": "#042b30",
  "rgb": {
    "r": 4,
    "g": 43,
    "b": 48
  },
  "hsl": {
    "h": 186.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26565,
    "c": 0.04245,
    "h": 207.7
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#042B30
secondary
#72271D
accent
#442DFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042B30

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

Preview Lab → · Contrast checker → · Palette generator →

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