#28329B#28329B

#28329B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.168 H 271.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#28329B
RGBrgb(40, 50, 155)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 74%, 61%)
CMYKcmyk(74.2%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.01, 33.08, -58.21)
CIE-LCHlch(27.01, 66.96, 299.61°)
OKLaboklab(38.42% 0.0042 -0.1683)
OKLCHoklch(38.42% 0.168 271.4)
XYZxyz(7.9301, 5.0981, 31.5701)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28329B #9B9128
analogous
#286B9B #28329B #58289B
triadic
#28329B #9B2832 #329B28
tetradic
#28329B #9B286B #9B9128 #289B58
square
#28329B #9B286B #9B9128 #289B58
split-complementary
#28329B #9B5828 #6B9B28
monochromatic
#0F133A #1B226A #28329B #3542CB #6670D7

Accessibility & contrast

On white

10.40
#28329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#28329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28329B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28329B#FFFFFF#000000##FFFFFF
##28329B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28329b;
/* rgb */ color: rgb(40, 50, 155);
/* oklch */ color: oklch(38.4% 0.168 271.4);
Tailwind
colors: {
  custom: {
    50: '#746ab9',
    500: '#28329b',
    950: '#000000',
  },
}
SCSS
$custom: #28329b;
$custom-light: #746ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#28329b",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 234.783,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.16838,
    "h": 271.4
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28329B

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

Preview Lab → · Contrast checker → · Palette generator →

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