#28409F#28409F

#28409F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.157 H 268.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#28409F
RGBrgb(40, 64, 159)
HSLhsl(228, 60%, 39%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(74.8%, 59.7%, 0%, 37.6%)
CIE-LABlab(30.93, 25.33, -54.24)
CIE-LCHlch(30.93, 59.87, 295.03°)
OKLaboklab(41.42% -0.0056 -0.1566)
OKLCHoklch(41.42% 0.157 268)
XYZxyz(8.9643, 6.6202, 33.5995)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409F #9F8728
analogous
#287C9F #28409F #4C289F
triadic
#28409F #9F2840 #409F28
tetradic
#28409F #9F287C #9F8728 #289F4C
square
#28409F #9F287C #9F8728 #289F4C
split-complementary
#28409F #9F4C28 #7C9F28
monochromatic
#0F193D #1C2C6E #28409F #3756CD #687FD9

Accessibility & contrast

On white

9.04
#28409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#28409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28409F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409F#FFFFFF#000000##FFFFFF
##28409F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28409f;
/* rgb */ color: rgb(40, 64, 159);
/* oklch */ color: oklch(41.4% 0.157 268.0);
Tailwind
colors: {
  custom: {
    50: '#7474bc',
    500: '#28409f',
    950: '#000000',
  },
}
SCSS
$custom: #28409f;
$custom-light: #7474bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28409f",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 227.899,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.15667,
    "h": 268
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#28409F
secondary
#BFAD64
accent
#C345E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28409F

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

Preview Lab → · Contrast checker → · Palette generator →

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