#28293D#28293D

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

Color values

HEX#28293D
RGBrgb(40, 41, 61)
HSLhsl(237, 21%, 20%)
HSVhsv(237, 34%, 24%)
CMYKcmyk(34.4%, 32.8%, 0%, 76.1%)
CIE-LABlab(17.34, 5.20, -12.88)
CIE-LCHlch(17.34, 13.89, 291.99°)
OKLaboklab(28.93% 0.0074 -0.0357)
OKLCHoklch(28.93% 0.036 281.7)
XYZxyz(2.5101, 2.3738, 4.7399)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293D #3D3C28
analogous
#28343D #28293D #32283D
triadic
#28293D #3D2829 #293D28
tetradic
#28293D #3D2834 #3D3C28 #283D32
square
#28293D #3D2834 #3D3C28 #283D32
split-complementary
#28293D #3D3228 #343D28
monochromatic
#0C0C12 #101018 #28293D #404262 #585B87

Accessibility & contrast

On white

14.24
#28293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28293D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293D#FFFFFF#000000##FFFFFF
##28293D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#222A3C
Tritanopia (blue-blind)
#232D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #28293d;
/* rgb */ color: rgb(40, 41, 61);
/* oklch */ color: oklch(28.9% 0.036 281.7);
Tailwind
colors: {
  custom: {
    50: '#626272',
    500: '#28293d',
    950: '#000000',
  },
}
SCSS
$custom: #28293d;
$custom-light: #626272;
$custom-dark: #000000;
JSON
{
  "hex": "#28293d",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 237.143,
    "s": 20.792,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.03644,
    "h": 281.7
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#28293D
secondary
#6E6D52
accent
#B96ABD
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050508
muted
#79797B

Preview Lab

Preview with #28293D

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

Preview Lab → · Contrast checker → · Palette generator →

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