#28423C#28423C

#28423C is a dark, muted teal. Relative luminance 0.047; OKLCH L 35.6% C 0.034 H 178.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#28423C
RGBrgb(40, 66, 60)
HSLhsl(166, 25%, 21%)
HSVhsv(166, 39%, 26%)
CMYKcmyk(39.4%, 0%, 9.1%, 74.1%)
CIE-LABlab(25.78, -11.59, 0.50)
CIE-LCHlch(25.78, 11.60, 177.55°)
OKLaboklab(35.59% -0.0337 0.0011)
OKLCHoklch(35.59% 0.034 178.1)
XYZxyz(3.6386, 4.6736, 4.9844)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28423C #42282E
analogous
#28422F #28423C #283B42
triadic
#28423C #3C2842 #423C28
tetradic
#28423C #2F2842 #42282E #3B4228
square
#28423C #2F2842 #42282E #3B4228
split-complementary
#28423C #42283B #422F28
monochromatic
#0C1311 #111C19 #28423C #3F685F #568E81

Accessibility & contrast

On white

10.85
#28423C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#28423C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28423C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28423C#FFFFFF#000000##FFFFFF
##28423C1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403F3C
Deuteranopia (green-blind)
#3B3C3C
Tritanopia (blue-blind)
#204340
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28423c;
/* rgb */ color: rgb(40, 66, 60);
/* oklch */ color: oklch(35.6% 0.034 178.1);
Tailwind
colors: {
  custom: {
    50: '#637671',
    500: '#28423c',
    950: '#000000',
  },
}
SCSS
$custom: #28423c;
$custom-light: #637671;
$custom-dark: #000000;
JSON
{
  "hex": "#28423c",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 60
  },
  "hsl": {
    "h": 166.154,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.03374,
    "h": 178.1
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#28423C
secondary
#74525A
accent
#677CC1
background
#F5F7F6
surface
#EAEDEC
border
#C6C8C7
text
#050807
muted
#797B7A

Preview Lab

Preview with #28423C

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

Preview Lab → · Contrast checker → · Palette generator →

#28423C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva