#28343C#28343C

#28343C is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.022 H 237.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#28343C
RGBrgb(40, 52, 60)
HSLhsl(204, 20%, 20%)
HSVhsv(204, 33%, 24%)
CMYKcmyk(33.3%, 13.3%, 0%, 76.5%)
CIE-LABlab(20.95, -2.72, -6.66)
CIE-LCHlch(20.95, 7.20, 247.81°)
OKLaboklab(31.75% -0.0116 -0.0182)
OKLCHoklch(31.75% 0.022 237.6)
XYZxyz(2.9184, 3.2332, 4.7444)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28343C #3C3028
analogous
#283C3A #28343C #282A3C
triadic
#28343C #3C2834 #343C28
tetradic
#28343C #3A283C #3C3028 #2A3C28
square
#28343C #3A283C #3C3028 #2A3C28
split-complementary
#28343C #3C282A #3C3A28
monochromatic
#0C1012 #101417 #28343C #405461 #597485

Accessibility & contrast

On white

12.75
#28343C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#28343C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28343C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28343C#FFFFFF#000000##FFFFFF
##28343C1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343C
Deuteranopia (green-blind)
#2E313C
Tritanopia (blue-blind)
#223637
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28343c;
/* rgb */ color: rgb(40, 52, 60);
/* oklch */ color: oklch(31.7% 0.022 237.6);
Tailwind
colors: {
  custom: {
    50: '#626b71',
    500: '#28343c',
    950: '#000000',
  },
}
SCSS
$custom: #28343c;
$custom-light: #626b71;
$custom-dark: #000000;
JSON
{
  "hex": "#28343c",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 60
  },
  "hsl": {
    "h": 204,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.02159,
    "h": 237.6
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#28343C
secondary
#6D5D52
accent
#8C6BBD
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #28343C

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

Preview Lab → · Contrast checker → · Palette generator →

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