#28283A#28283A

#28283A is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.5% C 0.033 H 284.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#28283A
RGBrgb(40, 40, 58)
HSLhsl(240, 18%, 19%)
HSVhsv(240, 31%, 23%)
CMYKcmyk(31%, 31%, 0%, 77.3%)
CIE-LABlab(16.86, 4.98, -11.52)
CIE-LCHlch(16.86, 12.55, 293.36°)
OKLaboklab(28.52% 0.008 -0.0318)
OKLCHoklch(28.52% 0.033 284.1)
XYZxyz(2.3974, 2.2741, 4.3148)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28283A #3A3A28
analogous
#28313A #28283A #31283A
triadic
#28283A #3A2828 #283A28
tetradic
#28283A #3A2831 #3A3A28 #283A31
square
#28283A #3A2831 #3A3A28 #283A31
split-complementary
#28283A #3A3128 #313A28
monochromatic
#0C0C12 #0F0F16 #28283A #41415E #5A5A82

Accessibility & contrast

On white

14.43
#28283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#28283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28283A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28283A#FFFFFF#000000##FFFFFF
##28283A1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#23293A
Tritanopia (blue-blind)
#242B2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28283a;
/* rgb */ color: rgb(40, 40, 58);
/* oklch */ color: oklch(28.5% 0.033 284.1);
Tailwind
colors: {
  custom: {
    50: '#626170',
    500: '#28283a',
    950: '#000000',
  },
}
SCSS
$custom: #28283a;
$custom-light: #626170;
$custom-dark: #000000;
JSON
{
  "hex": "#28283a",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28518,
    "c": 0.03281,
    "h": 284.1
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#28283A
secondary
#6B6B53
accent
#BB6DBB
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A

Preview Lab

Preview with #28283A

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

Preview Lab → · Contrast checker → · Palette generator →

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