#28409B#28409B

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

Color values

HEX#28409B
RGBrgb(40, 64, 155)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 61%)
CMYKcmyk(74.2%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.60, 23.80, -52.35)
CIE-LCHlch(30.60, 57.51, 294.45°)
OKLaboklab(41.07% -0.0057 -0.151)
OKLCHoklch(41.07% 0.151 267.8)
XYZxyz(8.6228, 6.4836, 31.8010)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409B #9B8328
analogous
#28799B #28409B #49289B
triadic
#28409B #9B2840 #409B28
tetradic
#28409B #9B2879 #9B8328 #289B49
square
#28409B #9B2879 #9B8328 #289B49
split-complementary
#28409B #9B4928 #799B28
monochromatic
#0F183A #1B2C6A #28409B #3554CB #667ED7

Accessibility & contrast

On white

9.14
#28409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#28409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28409B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409B#FFFFFF#000000##FFFFFF
##28409B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28409b;
/* rgb */ color: rgb(40, 64, 155);
/* oklch */ color: oklch(41.1% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#7374b9',
    500: '#28409b',
    950: '#000000',
  },
}
SCSS
$custom: #28409b;
$custom-light: #7374b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28409b",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 227.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.15111,
    "h": 267.8
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#28409B
secondary
#BDAA61
accent
#C146E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28409B

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

Preview Lab → · Contrast checker → · Palette generator →

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