#28293F#28293F

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

Color values

HEX#28293F
RGBrgb(40, 41, 63)
HSLhsl(237, 22%, 20%)
HSVhsv(237, 37%, 25%)
CMYKcmyk(36.5%, 34.9%, 0%, 75.3%)
CIE-LABlab(17.44, 5.83, -14.10)
CIE-LCHlch(17.44, 15.26, 292.48°)
OKLaboklab(29.05% 0.008 -0.0392)
OKLCHoklch(29.05% 0.04 281.6)
XYZxyz(2.5650, 2.3958, 5.0290)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28293F #3F3E28
analogous
#28343F #28293F #32283F
triadic
#28293F #3F2829 #293F28
tetradic
#28293F #3F2834 #3F3E28 #283F32
square
#28293F #3F2834 #3F3E28 #283F32
split-complementary
#28293F #3F3228 #343F28
monochromatic
#0C0C13 #10111A #28293F #404164 #585A8A

Accessibility & contrast

On white

14.20
#28293F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28293F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28293F#FFFFFF#000000##FFFFFF
##28293F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C40
Deuteranopia (green-blind)
#212A3E
Tritanopia (blue-blind)
#222D31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #28293f;
/* rgb */ color: rgb(40, 41, 63);
/* oklch */ color: oklch(29.0% 0.040 281.6);
Tailwind
colors: {
  custom: {
    50: '#626274',
    500: '#28293f',
    950: '#000000',
  },
}
SCSS
$custom: #28293f;
$custom-light: #626274;
$custom-dark: #000000;
JSON
{
  "hex": "#28293f",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 63
  },
  "hsl": {
    "h": 237.391,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29047,
    "c": 0.04002,
    "h": 281.6
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#28293F
secondary
#716F52
accent
#BB69BF
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #28293F

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

Preview Lab → · Contrast checker → · Palette generator →

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