#28293B#28293B

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

Color values

HEX#28293B
RGBrgb(40, 41, 59)
HSLhsl(237, 19%, 19%)
HSVhsv(237, 32%, 23%)
CMYKcmyk(32.2%, 30.5%, 0%, 76.9%)
CIE-LABlab(17.24, 4.57, -11.64)
CIE-LCHlch(17.24, 12.51, 291.44°)
OKLaboklab(28.82% 0.0066 -0.0322)
OKLCHoklch(28.82% 0.033 281.6)
XYZxyz(2.4572, 2.3527, 4.4615)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293B #3B3A28
analogous
#28333B #28293B #31283B
triadic
#28293B #3B2829 #293B28
tetradic
#28293B #3B2833 #3B3A28 #283B31
square
#28293B #3B2833 #3B3A28 #283B31
split-complementary
#28293B #3B3128 #333B28
monochromatic
#0C0D12 #0F1017 #28293B #41425F #595C84

Accessibility & contrast

On white

14.28
#28293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28293B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293B#FFFFFF#000000##FFFFFF
##28293B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3C
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#232C2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28293b;
/* rgb */ color: rgb(40, 41, 59);
/* oklch */ color: oklch(28.8% 0.033 281.6);
Tailwind
colors: {
  custom: {
    50: '#626271',
    500: '#28293b',
    950: '#000000',
  },
}
SCSS
$custom: #28293b;
$custom-light: #626271;
$custom-dark: #000000;
JSON
{
  "hex": "#28293b",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 236.842,
    "s": 19.192,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28824,
    "c": 0.03284,
    "h": 281.6
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#28293B
secondary
#6C6B53
accent
#B86CBC
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #28293B

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

Preview Lab → · Contrast checker → · Palette generator →

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