#28293A#28293A

#28293A is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.8% C 0.031 H 281.6°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#28293A
RGBrgb(40, 41, 58)
HSLhsl(237, 18%, 19%)
HSVhsv(237, 31%, 23%)
CMYKcmyk(31%, 29.3%, 0%, 77.3%)
CIE-LABlab(17.19, 4.27, -11.02)
CIE-LCHlch(17.19, 11.82, 291.16°)
OKLaboklab(28.77% 0.0063 -0.0304)
OKLCHoklch(28.77% 0.031 281.6)
XYZxyz(2.4315, 2.3424, 4.3262)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293A #3A3928
analogous
#28323A #28293A #30283A
triadic
#28293A #3A2829 #293A28
tetradic
#28293A #3A2832 #3A3928 #283A30
square
#28293A #3A2832 #3A3928 #283A30
split-complementary
#28293A #3A3028 #323A28
monochromatic
#0C0D12 #0F0F16 #28293A #41435E #5A5C82

Accessibility & contrast

On white

14.30
#28293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28293A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293A#FFFFFF#000000##FFFFFF
##28293A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#242C2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28293a;
/* rgb */ color: rgb(40, 41, 58);
/* oklch */ color: oklch(28.8% 0.031 281.6);
Tailwind
colors: {
  custom: {
    50: '#626270',
    500: '#28293a',
    950: '#000000',
  },
}
SCSS
$custom: #28293a;
$custom-light: #626270;
$custom-dark: #000000;
JSON
{
  "hex": "#28293a",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 236.667,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28771,
    "c": 0.03104,
    "h": 281.6
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#28293A
secondary
#6B6A53
accent
#B76DBB
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #28293A

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

Preview Lab → · Contrast checker → · Palette generator →

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