#28329F#28329F

#28329F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.174 H 271.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#28329F
RGBrgb(40, 50, 159)
HSLhsl(235, 60%, 39%)
HSVhsv(235, 75%, 62%)
CMYKcmyk(74.8%, 68.6%, 0%, 37.6%)
CIE-LABlab(27.39, 34.53, -60.03)
CIE-LCHlch(27.39, 69.25, 299.91°)
OKLaboklab(38.82% 0.0038 -0.1736)
OKLCHoklch(38.82% 0.174 271.3)
XYZxyz(8.2716, 5.2347, 33.3686)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28329F #9F9528
analogous
#286E9F #28329F #5A289F
triadic
#28329F #9F2832 #329F28
tetradic
#28329F #9F286E #9F9528 #289F5A
square
#28329F #9F286E #9F9528 #289F5A
split-complementary
#28329F #9F5A28 #6E9F28
monochromatic
#0F133D #1C236E #28329F #3744CD #6872D9

Accessibility & contrast

On white

10.26
#28329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#28329F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28329F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28329F#FFFFFF#000000##FFFFFF
##28329F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28329f;
/* rgb */ color: rgb(40, 50, 159);
/* oklch */ color: oklch(38.8% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#756abc',
    500: '#28329f',
    950: '#000000',
  },
}
SCSS
$custom: #28329f;
$custom-light: #756abc;
$custom-dark: #000000;
JSON
{
  "hex": "#28329f",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 234.958,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38815,
    "c": 0.17367,
    "h": 271.3
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#28329F
secondary
#BFB864
accent
#D645E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #28329F

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

Preview Lab → · Contrast checker → · Palette generator →

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