#28323A#28323A

#28323A is a dark, near-neutral cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.020 H 242.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#28323A
RGBrgb(40, 50, 58)
HSLhsl(207, 18%, 19%)
HSVhsv(207, 31%, 23%)
CMYKcmyk(31%, 13.8%, 0%, 77.3%)
CIE-LABlab(20.19, -1.97, -6.45)
CIE-LCHlch(20.19, 6.74, 253.00°)
OKLaboklab(31.12% -0.0092 -0.0176)
OKLCHoklch(31.12% 0.02 242.5)
XYZxyz(2.7792, 3.0377, 4.4421)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28323A #3A3028
analogous
#283A39 #28323A #28293A
triadic
#28323A #3A2832 #323A28
tetradic
#28323A #39283A #3A3028 #293A28
square
#28323A #39283A #3A3028 #293A28
split-complementary
#28323A #3A2829 #3A3928
monochromatic
#0C1012 #0F1316 #28323A #41515E #5A7082

Accessibility & contrast

On white

13.06
#28323A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#28323A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28323A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28323A#FFFFFF#000000##FFFFFF
##28323A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323A
Deuteranopia (green-blind)
#2C303A
Tritanopia (blue-blind)
#233435
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28323a;
/* rgb */ color: rgb(40, 50, 58);
/* oklch */ color: oklch(31.1% 0.020 242.5);
Tailwind
colors: {
  custom: {
    50: '#626970',
    500: '#28323a',
    950: '#000000',
  },
}
SCSS
$custom: #28323a;
$custom-light: #626970;
$custom-dark: #000000;
JSON
{
  "hex": "#28323a",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 58
  },
  "hsl": {
    "h": 206.667,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31121,
    "c": 0.01985,
    "h": 242.5
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#28323A
secondary
#6B5E53
accent
#906DBB
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #28323A

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

Preview Lab → · Contrast checker → · Palette generator →

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