#28283C#28283C

#28283C is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.6% C 0.036 H 283.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#28283C
RGBrgb(40, 40, 60)
HSLhsl(240, 20%, 20%)
HSVhsv(240, 33%, 24%)
CMYKcmyk(33.3%, 33.3%, 0%, 76.5%)
CIE-LABlab(16.96, 5.60, -12.76)
CIE-LCHlch(16.96, 13.93, 293.68°)
OKLaboklab(28.63% 0.0087 -0.0354)
OKLCHoklch(28.63% 0.036 283.9)
XYZxyz(2.4493, 2.2949, 4.5880)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28283C #3C3C28
analogous
#28323C #28283C #32283C
triadic
#28283C #3C2828 #283C28
tetradic
#28283C #3C2832 #3C3C28 #283C32
square
#28283C #3C2832 #3C3C28 #283C32
split-complementary
#28283C #3C3228 #323C28
monochromatic
#0C0C12 #101017 #28283C #404061 #595985

Accessibility & contrast

On white

14.39
#28283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#28283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28283C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28283C#FFFFFF#000000##FFFFFF
##28283C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#232C2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28283c;
/* rgb */ color: rgb(40, 40, 60);
/* oklch */ color: oklch(28.6% 0.036 283.9);
Tailwind
colors: {
  custom: {
    50: '#626171',
    500: '#28283c',
    950: '#000000',
  },
}
SCSS
$custom: #28283c;
$custom-light: #626171;
$custom-dark: #000000;
JSON
{
  "hex": "#28283c",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.03642,
    "h": 283.9
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#28283C
secondary
#6D6D52
accent
#BD6BBD
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A

Preview Lab

Preview with #28283C

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

Preview Lab → · Contrast checker → · Palette generator →

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