#28293C#28293C

#28293C is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.9% C 0.035 H 281.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#28293C
RGBrgb(40, 41, 60)
HSLhsl(237, 20%, 20%)
HSVhsv(237, 33%, 24%)
CMYKcmyk(33.3%, 31.7%, 0%, 76.5%)
CIE-LABlab(17.29, 4.88, -12.26)
CIE-LCHlch(17.29, 13.20, 291.72°)
OKLaboklab(28.88% 0.007 -0.0339)
OKLCHoklch(28.88% 0.035 281.7)
XYZxyz(2.4834, 2.3632, 4.5994)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293C #3C3B28
analogous
#28333C #28293C #31283C
triadic
#28293C #3C2829 #293C28
tetradic
#28293C #3C2833 #3C3B28 #283C31
square
#28293C #3C2833 #3C3B28 #283C31
split-complementary
#28293C #3C3128 #333C28
monochromatic
#0C0D12 #101017 #28293C #404261 #595B85

Accessibility & contrast

On white

14.26
#28293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#28293C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28293C
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293C#FFFFFF#000000##FFFFFF
##28293C1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3D
Deuteranopia (green-blind)
#232A3C
Tritanopia (blue-blind)
#232C30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28293c;
/* rgb */ color: rgb(40, 41, 60);
/* oklch */ color: oklch(28.9% 0.035 281.7);
Tailwind
colors: {
  custom: {
    50: '#626271',
    500: '#28293c',
    950: '#000000',
  },
}
SCSS
$custom: #28293c;
$custom-light: #626271;
$custom-dark: #000000;
JSON
{
  "hex": "#28293c",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 237,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28879,
    "c": 0.03464,
    "h": 281.7
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#28293C
secondary
#6D6C52
accent
#B96BBD
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #28293C

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

Preview Lab → · Contrast checker → · Palette generator →

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