#28293E#28293E

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

Color values

HEX#28293E
RGBrgb(40, 41, 62)
HSLhsl(237, 22%, 20%)
HSVhsv(237, 35%, 24%)
CMYKcmyk(35.5%, 33.9%, 0%, 75.7%)
CIE-LABlab(17.39, 5.52, -13.49)
CIE-LCHlch(17.39, 14.57, 292.24°)
OKLaboklab(28.99% 0.0077 -0.0374)
OKLCHoklch(28.99% 0.038 281.6)
XYZxyz(2.5373, 2.3847, 4.8831)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293E #3E3D28
analogous
#28343E #28293E #32283E
triadic
#28293E #3E2829 #293E28
tetradic
#28293E #3E2834 #3E3D28 #283E32
square
#28293E #3E2834 #3E3D28 #283E32
split-complementary
#28293E #3E3228 #343E28
monochromatic
#0C0C13 #101019 #28293E #404263 #585A88

Accessibility & contrast

On white

14.22
#28293E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#28293E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28293E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293E#FFFFFF#000000##FFFFFF
##28293E1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28293e;
/* rgb */ color: rgb(40, 41, 62);
/* oklch */ color: oklch(29.0% 0.038 281.6);
Tailwind
colors: {
  custom: {
    50: '#626273',
    500: '#28293e',
    950: '#000000',
  },
}
SCSS
$custom: #28293e;
$custom-light: #626273;
$custom-dark: #000000;
JSON
{
  "hex": "#28293e",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 62
  },
  "hsl": {
    "h": 237.273,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.03823,
    "h": 281.6
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#28293E
secondary
#706E52
accent
#BA6ABE
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050508
muted
#79797B

Preview Lab

Preview with #28293E

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

Preview Lab → · Contrast checker → · Palette generator →

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