#28343B#28343B

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

Color values

HEX#28343B
RGBrgb(40, 52, 59)
HSLhsl(202, 19%, 19%)
HSVhsv(202, 32%, 23%)
CMYKcmyk(32.2%, 11.9%, 0%, 76.9%)
CIE-LABlab(20.91, -3.02, -6.04)
CIE-LCHlch(20.91, 6.75, 243.48°)
OKLaboklab(31.7% -0.012 -0.0165)
OKLCHoklch(31.7% 0.02 233.9)
XYZxyz(2.8922, 3.2227, 4.6065)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28343B #3B2F28
analogous
#283B39 #28343B #282B3B
triadic
#28343B #3B2834 #343B28
tetradic
#28343B #39283B #3B2F28 #2B3B28
square
#28343B #39283B #3B2F28 #2B3B28
split-complementary
#28343B #3B282B #3B3928
monochromatic
#0C1012 #0F1417 #28343B #41545F #597484

Accessibility & contrast

On white

12.77
#28343B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28343B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28343B#FFFFFF#000000##FFFFFF
##28343B1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343B
Deuteranopia (green-blind)
#2E313B
Tritanopia (blue-blind)
#223636
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28343b;
/* rgb */ color: rgb(40, 52, 59);
/* oklch */ color: oklch(31.7% 0.020 233.9);
Tailwind
colors: {
  custom: {
    50: '#626b70',
    500: '#28343b',
    950: '#000000',
  },
}
SCSS
$custom: #28343b;
$custom-light: #626b70;
$custom-dark: #000000;
JSON
{
  "hex": "#28343b",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 59
  },
  "hsl": {
    "h": 202.105,
    "s": 19.192,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31702,
    "c": 0.02043,
    "h": 233.9
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#28343B
secondary
#6C5C53
accent
#896CBC
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #28343B

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

Preview Lab → · Contrast checker → · Palette generator →

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