#042F35#042F35

#042F35 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.1% C 0.045 H 209.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#042F35
RGBrgb(4, 47, 53)
HSLhsl(187, 86%, 11%)
HSVhsv(187, 92%, 21%)
CMYKcmyk(92.5%, 11.3%, 0%, 79.2%)
CIE-LABlab(17.06, -11.53, -7.92)
CIE-LCHlch(17.06, 13.98, 214.47°)
OKLaboklab(28.05% -0.0398 -0.0221)
OKLCHoklch(28.05% 0.046 209)
XYZxyz(1.7089, 2.3157, 3.7244)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042F35 #350A04
analogous
#043522 #042F35 #041635
triadic
#042F35 #35042F #2F3504
tetradic
#042F35 #220435 #350A04 #163504
square
#042F35 #220435 #350A04 #163504
split-complementary
#042F35 #350416 #352204
monochromatic
#02191C #02191C #042F35 #08616E #0D94A7

Accessibility & contrast

On white

14.35
#042F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#042F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042F35
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042F35#FFFFFF#000000##FFFFFF
##042F351.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D35
Deuteranopia (green-blind)
#232835
Tritanopia (blue-blind)
#003231
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #042f35;
/* rgb */ color: rgb(4, 47, 53);
/* oklch */ color: oklch(28.1% 0.045 209.0);
Tailwind
colors: {
  custom: {
    50: '#4e676c',
    500: '#042f35',
    950: '#000000',
  },
}
SCSS
$custom: #042f35;
$custom-light: #4e676c;
$custom-dark: #000000;
JSON
{
  "hex": "#042f35",
  "rgb": {
    "r": 4,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 187.347,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28054,
    "c": 0.0455,
    "h": 209
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#042F35
secondary
#77291E
accent
#452CFC
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #042F35

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

Preview Lab → · Contrast checker → · Palette generator →

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