#28329A#28329A

#28329A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.167 H 271.5°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#28329A
RGBrgb(40, 50, 154)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(74%, 67.5%, 0%, 39.6%)
CIE-LABlab(26.92, 32.72, -57.76)
CIE-LCHlch(26.92, 66.38, 299.53°)
OKLaboklab(38.32% 0.0043 -0.167)
OKLCHoklch(38.32% 0.167 271.5)
XYZxyz(7.8464, 5.0646, 31.1296)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28329A #9A9028
analogous
#286B9A #28329A #57289A
triadic
#28329A #9A2832 #329A28
tetradic
#28329A #9A286B #9A9028 #289A57
square
#28329A #9A286B #9A9028 #289A57
split-complementary
#28329A #9A5728 #6B9A28
monochromatic
#0F1239 #1B2269 #28329A #3542CA #656FD7

Accessibility & contrast

On white

10.43
#28329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#28329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28329A
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28329A#FFFFFF#000000##FFFFFF
##28329A1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28329a;
/* rgb */ color: rgb(40, 50, 154);
/* oklch */ color: oklch(38.3% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#746ab9',
    500: '#28329a',
    950: '#000000',
  },
}
SCSS
$custom: #28329a;
$custom-light: #746ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#28329a",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 234.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.16706,
    "h": 271.5
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#28329A
secondary
#BDB561
accent
#D446E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #28329A

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

Preview Lab → · Contrast checker → · Palette generator →

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