#28343A#28343A

#28343A is a dark, near-neutral cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.019 H 229.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#28343A
RGBrgb(40, 52, 58)
HSLhsl(200, 18%, 19%)
HSVhsv(200, 31%, 23%)
CMYKcmyk(31%, 10.3%, 0%, 77.3%)
CIE-LABlab(20.88, -3.31, -5.42)
CIE-LCHlch(20.88, 6.35, 238.60°)
OKLaboklab(31.66% -0.0125 -0.0148)
OKLCHoklch(31.66% 0.019 229.7)
XYZxyz(2.8666, 3.2125, 4.4712)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28343A #3A2E28
analogous
#283A37 #28343A #282B3A
triadic
#28343A #3A2834 #343A28
tetradic
#28343A #37283A #3A2E28 #2B3A28
square
#28343A #37283A #3A2E28 #2B3A28
split-complementary
#28343A #3A282B #3A3728
monochromatic
#0C1012 #0F1416 #28343A #41545E #5A7582

Accessibility & contrast

On white

12.78
#28343A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#28343A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28343A
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28343A#FFFFFF#000000##FFFFFF
##28343A1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31333A
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#233636
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28343a;
/* rgb */ color: rgb(40, 52, 58);
/* oklch */ color: oklch(31.7% 0.019 229.7);
Tailwind
colors: {
  custom: {
    50: '#626b70',
    500: '#28343a',
    950: '#000000',
  },
}
SCSS
$custom: #28343a;
$custom-light: #626b70;
$custom-dark: #000000;
JSON
{
  "hex": "#28343a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 58
  },
  "hsl": {
    "h": 200,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31658,
    "c": 0.01937,
    "h": 229.7
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#28343A
secondary
#6B5B53
accent
#876DBB
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #28343A

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

Preview Lab → · Contrast checker → · Palette generator →

#28343A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva