#28509B#28509B

#28509B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.131 H 261.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#28509B
RGBrgb(40, 80, 155)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 61%)
CMYKcmyk(74.2%, 48.4%, 0%, 39.2%)
CIE-LABlab(35.11, 13.02, -45.05)
CIE-LCHlch(35.11, 46.89, 286.11°)
OKLaboklab(44.49% -0.0191 -0.1293)
OKLCHoklch(44.49% 0.131 261.6)
XYZxyz(9.6580, 8.5539, 32.1461)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28509B #9B7328
analogous
#28899B #28509B #39289B
triadic
#28509B #9B2850 #509B28
tetradic
#28509B #9B2889 #9B7328 #289B39
square
#28509B #9B2889 #9B7328 #289B39
split-complementary
#28509B #9B3928 #899B28
monochromatic
#0F1E3A #1B376A #28509B #3569CB #668DD7

Accessibility & contrast

On white

7.75
#28509B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#28509B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28509B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28509B#FFFFFF#000000##FFFFFF
##28509B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#074E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28509b;
/* rgb */ color: rgb(40, 80, 155);
/* oklch */ color: oklch(44.5% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#7280b9',
    500: '#28509b',
    950: '#000000',
  },
}
SCSS
$custom: #28509b;
$custom-light: #7280b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28509b",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 219.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.13067,
    "h": 261.6
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28509B

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

Preview Lab → · Contrast checker → · Palette generator →

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