#28409A#28409A

#28409A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.150 H 267.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#28409A
RGBrgb(40, 64, 154)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 60%)
CMYKcmyk(74%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.52, 23.42, -51.87)
CIE-LCHlch(30.52, 56.91, 294.30°)
OKLaboklab(40.99% -0.0057 -0.1496)
OKLCHoklch(40.99% 0.15 267.8)
XYZxyz(8.5392, 6.4501, 31.3605)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409A #9A8228
analogous
#28799A #28409A #49289A
triadic
#28409A #9A2840 #409A28
tetradic
#28409A #9A2879 #9A8228 #289A49
square
#28409A #9A2879 #9A8228 #289A49
split-complementary
#28409A #9A4928 #799A28
monochromatic
#0F1839 #1B2C69 #28409A #3554CA #657DD7

Accessibility & contrast

On white

9.17
#28409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#28409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28409A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409A#FFFFFF#000000##FFFFFF
##28409A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28409a;
/* rgb */ color: rgb(40, 64, 154);
/* oklch */ color: oklch(41.0% 0.150 267.8);
Tailwind
colors: {
  custom: {
    50: '#7274b8',
    500: '#28409a',
    950: '#000000',
  },
}
SCSS
$custom: #28409a;
$custom-light: #7274b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28409a",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 227.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40987,
    "c": 0.14971,
    "h": 267.8
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#28409A
secondary
#BDAA61
accent
#C146E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28409A

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

Preview Lab → · Contrast checker → · Palette generator →

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