#28509A#28509A

#28509A is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.129 H 261.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#28509A
RGBrgb(40, 80, 154)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 60%)
CMYKcmyk(74%, 48.1%, 0%, 39.6%)
CIE-LABlab(35.04, 12.63, -44.56)
CIE-LCHlch(35.04, 46.31, 285.82°)
OKLaboklab(44.42% -0.0193 -0.1278)
OKLCHoklch(44.42% 0.129 261.4)
XYZxyz(9.5744, 8.5205, 31.7056)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28509A #9A7228
analogous
#28899A #28509A #39289A
triadic
#28509A #9A2850 #509A28
tetradic
#28509A #9A2889 #9A7228 #289A39
square
#28509A #9A2889 #9A7228 #289A39
split-complementary
#28509A #9A3928 #899A28
monochromatic
#0F1E39 #1B3769 #28509A #3569CA #658DD7

Accessibility & contrast

On white

7.77
#28509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#28509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28509A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28509A#FFFFFF#000000##FFFFFF
##28509A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#0A4E99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28509a;
/* rgb */ color: rgb(40, 80, 154);
/* oklch */ color: oklch(44.4% 0.129 261.4);
Tailwind
colors: {
  custom: {
    50: '#7280b8',
    500: '#28509a',
    950: '#000000',
  },
}
SCSS
$custom: #28509a;
$custom-light: #7280b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28509a",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 218.947,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.12925,
    "h": 261.4
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#28509A
secondary
#BD9D61
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28509A

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

Preview Lab → · Contrast checker → · Palette generator →

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