#28209F#28209F

#28209F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.192 H 273.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#28209F
RGBrgb(40, 32, 159)
HSLhsl(244, 66%, 37%)
HSVhsv(244, 80%, 62%)
CMYKcmyk(74.8%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.63, 45.05, -66.24)
CIE-LCHlch(23.63, 80.11, 304.22°)
OKLaboklab(36.13% 0.0127 -0.1916)
OKLCHoklch(36.13% 0.192 273.8)
XYZxyz(7.6475, 3.9866, 33.1606)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28209F #979F20
analogous
#20579F #28209F #68209F
triadic
#28209F #9F2820 #209F28
tetradic
#28209F #9F2057 #979F20 #209F68
square
#28209F #9F2057 #979F20 #209F68
split-complementary
#28209F #9F6820 #579F20
monochromatic
#0E0B39 #1B166C #28209F #352AD2 #645BDE

Accessibility & contrast

On white

11.68
#28209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#28209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28209F
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28209F#FFFFFF#000000##FFFFFF
##28209F1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28209f;
/* rgb */ color: rgb(40, 32, 159);
/* oklch */ color: oklch(36.1% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#775fbd',
    500: '#28209f',
    950: '#000000',
  },
}
SCSS
$custom: #28209f;
$custom-light: #775fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#28209f",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 243.78,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36131,
    "c": 0.19204,
    "h": 273.8
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#28209F
secondary
#BCC259
accent
#E93EDF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28209F

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

Preview Lab → · Contrast checker → · Palette generator →

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