#28323F#28323F

#28323F is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.027 H 255.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#28323F
RGBrgb(40, 50, 63)
HSLhsl(214, 22%, 20%)
HSVhsv(214, 37%, 25%)
CMYKcmyk(36.5%, 20.6%, 0%, 75.3%)
CIE-LABlab(20.41, -0.45, -9.54)
CIE-LCHlch(20.41, 9.55, 267.28°)
OKLaboklab(31.36% -0.007 -0.0262)
OKLCHoklch(31.36% 0.027 255.2)
XYZxyz(2.9126, 3.0911, 5.1448)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28323F #3F3528
analogous
#283D3F #28323F #29283F
triadic
#28323F #3F2832 #323F28
tetradic
#28323F #3F283D #3F3528 #283F29
square
#28323F #3F283D #3F3528 #283F29
split-complementary
#28323F #3F2928 #3D3F28
monochromatic
#0C0F13 #10141A #28323F #405064 #586D8A

Accessibility & contrast

On white

12.98
#28323F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#28323F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28323F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28323F#FFFFFF#000000##FFFFFF
##28323F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2B303F
Tritanopia (blue-blind)
#213536
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28323f;
/* rgb */ color: rgb(40, 50, 63);
/* oklch */ color: oklch(31.4% 0.027 255.2);
Tailwind
colors: {
  custom: {
    50: '#626974',
    500: '#28323f',
    950: '#000000',
  },
}
SCSS
$custom: #28323f;
$custom-light: #626974;
$custom-dark: #000000;
JSON
{
  "hex": "#28323f",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 63
  },
  "hsl": {
    "h": 213.913,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.02716,
    "h": 255.2
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#28323F
secondary
#716352
accent
#9A69BF
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #28323F

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

Preview Lab → · Contrast checker → · Palette generator →

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