#042C33#042C33

#042C33 is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.0% C 0.044 H 212.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#042C33
RGBrgb(4, 44, 51)
HSLhsl(189, 85%, 11%)
HSVhsv(189, 92%, 20%)
CMYKcmyk(92.2%, 13.7%, 0%, 80%)
CIE-LABlab(15.83, -10.46, -8.40)
CIE-LCHlch(15.83, 13.41, 218.77°)
OKLaboklab(27.03% -0.0372 -0.0234)
OKLCHoklch(27.03% 0.044 212.2)
XYZxyz(1.5480, 2.0660, 3.4485)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042C33 #330B04
analogous
#043322 #042C33 #041433
triadic
#042C33 #33042C #2C3304
tetradic
#042C33 #220433 #330B04 #143304
square
#042C33 #220433 #330B04 #143304
split-complementary
#042C33 #330414 #332204
monochromatic
#02181C #02181C #042C33 #085D6C #0D8EA4

Accessibility & contrast

On white

14.86
#042C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#042C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042C33
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042C33#FFFFFF#000000##FFFFFF
##042C331.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A33
Deuteranopia (green-blind)
#202533
Tritanopia (blue-blind)
#002F2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #042c33;
/* rgb */ color: rgb(4, 44, 51);
/* oklch */ color: oklch(27.0% 0.044 212.2);
Tailwind
colors: {
  custom: {
    50: '#4d656a',
    500: '#042c33',
    950: '#000000',
  },
}
SCSS
$custom: #042c33;
$custom-light: #4d656a;
$custom-dark: #000000;
JSON
{
  "hex": "#042c33",
  "rgb": {
    "r": 4,
    "g": 44,
    "b": 51
  },
  "hsl": {
    "h": 188.936,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27028,
    "c": 0.044,
    "h": 212.2
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#042C33
secondary
#752B1D
accent
#4B2CFC
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #042C33

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

Preview Lab → · Contrast checker → · Palette generator →

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