#28209E#28209E

#28209E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.191 H 273.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#28209E
RGBrgb(40, 32, 158)
HSLhsl(244, 66%, 37%)
HSVhsv(244, 80%, 62%)
CMYKcmyk(74.7%, 79.7%, 0%, 38%)
CIE-LABlab(23.51, 44.73, -65.82)
CIE-LCHlch(23.51, 79.58, 304.20°)
OKLaboklab(36.02% 0.013 -0.1904)
OKLCHoklch(36.02% 0.191 273.9)
XYZxyz(7.5611, 3.9520, 32.7055)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28209E #969E20
analogous
#20579E #28209E #67209E
triadic
#28209E #9E2820 #209E28
tetradic
#28209E #9E2057 #969E20 #209E67
square
#28209E #9E2057 #969E20 #209E67
split-complementary
#28209E #9E6720 #579E20
monochromatic
#0E0B38 #1B166B #28209E #352AD1 #635BDE

Accessibility & contrast

On white

11.73
#28209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#28209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28209E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28209E#FFFFFF#000000##FFFFFF
##28209E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #28209e;
/* rgb */ color: rgb(40, 32, 158);
/* oklch */ color: oklch(36.0% 0.191 273.9);
Tailwind
colors: {
  custom: {
    50: '#765fbc',
    500: '#28209e',
    950: '#000000',
  },
}
SCSS
$custom: #28209e;
$custom-light: #765fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28209e",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 243.81,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36017,
    "c": 0.19084,
    "h": 273.9
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#28209E
secondary
#BBC258
accent
#E93FDE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28209E

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

Preview Lab → · Contrast checker → · Palette generator →

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