#284342#284342

#284342 is a dark, muted teal. Relative luminance 0.049; OKLCH L 36.1% C 0.033 H 192.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#284342
RGBrgb(40, 67, 66)
HSLhsl(178, 25%, 21%)
HSVhsv(178, 40%, 26%)
CMYKcmyk(40.3%, 0%, 1.5%, 73.7%)
CIE-LABlab(26.33, -10.51, -2.65)
CIE-LCHlch(26.33, 10.83, 194.15°)
OKLaboklab(36.1% -0.0321 -0.0073)
OKLCHoklch(36.1% 0.033 192.8)
XYZxyz(3.8652, 4.8585, 5.8873)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284342 #432829
analogous
#284334 #284342 #283643
triadic
#284342 #422843 #434228
tetradic
#284342 #342843 #432829 #364328
square
#284342 #342843 #432829 #364328
split-complementary
#284342 #432836 #433428
monochromatic
#0B1313 #111D1C #284342 #3F6968 #56908D

Accessibility & contrast

On white

10.65
#284342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#284342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284342
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284342#FFFFFF#000000##FFFFFF
##2843421.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404042
Deuteranopia (green-blind)
#3B3D42
Tritanopia (blue-blind)
#1D4443
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284342;
/* rgb */ color: rgb(40, 67, 66);
/* oklch */ color: oklch(36.1% 0.033 192.8);
Tailwind
colors: {
  custom: {
    50: '#637776',
    500: '#284342',
    950: '#000000',
  },
}
SCSS
$custom: #284342;
$custom-light: #637776;
$custom-dark: #000000;
JSON
{
  "hex": "#284342",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 66
  },
  "hsl": {
    "h": 177.778,
    "s": 25.234,
    "l": 20.98
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.03296,
    "h": 192.8
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#284342
secondary
#755253
accent
#666AC2
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050808
muted
#7A7B7B

Preview Lab

Preview with #284342

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

Preview Lab → · Contrast checker → · Palette generator →

#284342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva