#28409E#28409E

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

Color values

HEX#28409E
RGBrgb(40, 64, 158)
HSLhsl(228, 60%, 39%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(74.7%, 59.5%, 0%, 38%)
CIE-LABlab(30.84, 24.95, -53.77)
CIE-LCHlch(30.84, 59.28, 294.89°)
OKLaboklab(41.33% -0.0056 -0.1552)
OKLCHoklch(41.33% 0.155 267.9)
XYZxyz(8.8779, 6.5856, 33.1444)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409E #9E8628
analogous
#287B9E #28409E #4B289E
triadic
#28409E #9E2840 #409E28
tetradic
#28409E #9E287B #9E8628 #289E4B
square
#28409E #9E287B #9E8628 #289E4B
split-complementary
#28409E #9E4B28 #7B9E28
monochromatic
#0F183C #1C2C6D #28409E #3755CC #687FD9

Accessibility & contrast

On white

9.06
#28409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28409E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409E#FFFFFF#000000##FFFFFF
##28409E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28409e;
/* rgb */ color: rgb(40, 64, 158);
/* oklch */ color: oklch(41.3% 0.155 267.9);
Tailwind
colors: {
  custom: {
    50: '#7374bb',
    500: '#28409e',
    950: '#000000',
  },
}
SCSS
$custom: #28409e;
$custom-light: #7374bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28409e",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 227.797,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.15528,
    "h": 267.9
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28409E

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

Preview Lab → · Contrast checker → · Palette generator →

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