#28209A#28209A

#28209A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.186 H 274.3°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#28209A
RGBrgb(40, 32, 154)
HSLhsl(244, 66%, 36%)
HSVhsv(244, 79%, 60%)
CMYKcmyk(74%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.06, 43.44, -64.12)
CIE-LCHlch(23.06, 77.45, 304.11°)
OKLaboklab(35.56% 0.0139 -0.1855)
OKLCHoklch(35.56% 0.186 274.3)
XYZxyz(7.2224, 3.8165, 30.9216)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28209A #929A20
analogous
#20559A #28209A #65209A
triadic
#28209A #9A2820 #209A28
tetradic
#28209A #9A2055 #929A20 #209A65
square
#28209A #9A2055 #929A20 #209A65
split-complementary
#28209A #9A6520 #559A20
monochromatic
#0E0B35 #1B1567 #28209A #352BCD #6158DC

Accessibility & contrast

On white

11.91
#28209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#28209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28209A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28209A#FFFFFF#000000##FFFFFF
##28209A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28209a;
/* rgb */ color: rgb(40, 32, 154);
/* oklch */ color: oklch(35.6% 0.186 274.3);
Tailwind
colors: {
  custom: {
    50: '#755eb9',
    500: '#28209a',
    950: '#000000',
  },
}
SCSS
$custom: #28209a;
$custom-light: #755eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28209a",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 243.934,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35564,
    "c": 0.186,
    "h": 274.3
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#28209A
secondary
#B9C056
accent
#E93FDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28209A

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

Preview Lab → · Contrast checker → · Palette generator →

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