#28409D#28409D

#28409D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.154 H 267.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#28409D
RGBrgb(40, 64, 157)
HSLhsl(228, 59%, 39%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(74.5%, 59.2%, 0%, 38.4%)
CIE-LABlab(30.76, 24.57, -53.30)
CIE-LCHlch(30.76, 58.69, 294.74°)
OKLaboklab(41.24% -0.0056 -0.1538)
OKLCHoklch(41.24% 0.154 267.9)
XYZxyz(8.7922, 6.5513, 32.6929)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409D #9D8528
analogous
#287A9D #28409D #4A289D
triadic
#28409D #9D2840 #409D28
tetradic
#28409D #9D287A #9D8528 #289D4A
square
#28409D #9D287A #9D8528 #289D4A
split-complementary
#28409D #9D4A28 #7A9D28
monochromatic
#0F183B #1C2C6C #28409D #3655CC #677ED8

Accessibility & contrast

On white

9.09
#28409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28409D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409D#FFFFFF#000000##FFFFFF
##28409D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28409d;
/* rgb */ color: rgb(40, 64, 157);
/* oklch */ color: oklch(41.2% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#7374bb',
    500: '#28409d',
    950: '#000000',
  },
}
SCSS
$custom: #28409d;
$custom-light: #7374bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28409d",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 227.692,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.15389,
    "h": 267.9
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#28409D
secondary
#BEAC62
accent
#C245E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28409D

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

Preview Lab → · Contrast checker → · Palette generator →

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