#28329C#28329C

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

Color values

HEX#28329C
RGBrgb(40, 50, 156)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 74%, 61%)
CMYKcmyk(74.4%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.11, 33.45, -58.67)
CIE-LCHlch(27.11, 67.53, 299.69°)
OKLaboklab(38.52% 0.0041 -0.1697)
OKLCHoklch(38.52% 0.17 271.4)
XYZxyz(8.0144, 5.1318, 32.0142)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28329C #9C9228
analogous
#286C9C #28329C #58289C
triadic
#28329C #9C2832 #329C28
tetradic
#28329C #9C286C #9C9228 #289C58
square
#28329C #9C286C #9C9228 #289C58
split-complementary
#28329C #9C5828 #6C9C28
monochromatic
#0F133B #1C226B #28329C #3643CB #6770D8

Accessibility & contrast

On white

10.36
#28329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#28329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28329C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28329C#FFFFFF#000000##FFFFFF
##28329C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28329c;
/* rgb */ color: rgb(40, 50, 156);
/* oklch */ color: oklch(38.5% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#746aba',
    500: '#28329c',
    950: '#000000',
  },
}
SCSS
$custom: #28329c;
$custom-light: #746aba;
$custom-dark: #000000;
JSON
{
  "hex": "#28329c",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 234.828,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.16971,
    "h": 271.4
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#28329C
secondary
#BEB662
accent
#D545E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #28329C

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

Preview Lab → · Contrast checker → · Palette generator →

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