#28519B#28519B

#28519B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.129 H 261.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#28519B
RGBrgb(40, 81, 155)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 61%)
CMYKcmyk(74.2%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.40, 12.35, -44.58)
CIE-LCHlch(35.40, 46.26, 285.48°)
OKLaboklab(44.71% -0.02 -0.1279)
OKLCHoklch(44.71% 0.129 261.1)
XYZxyz(9.7318, 8.7015, 32.1707)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28519B #9B7228
analogous
#288A9B #28519B #39289B
triadic
#28519B #9B2851 #519B28
tetradic
#28519B #9B288A #9B7228 #289B39
square
#28519B #9B288A #9B7228 #289B39
split-complementary
#28519B #9B3928 #8A9B28
monochromatic
#0F1E3A #1B386A #28519B #356BCB #668ED7

Accessibility & contrast

On white

7.66
#28519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#28519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28519B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28519B#FFFFFF#000000##FFFFFF
##28519B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#0D4E9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28519b;
/* rgb */ color: rgb(40, 81, 155);
/* oklch */ color: oklch(44.7% 0.129 261.1);
Tailwind
colors: {
  custom: {
    50: '#7281b9',
    500: '#28519b',
    950: '#000000',
  },
}
SCSS
$custom: #28519b;
$custom-light: #7281b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28519b",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 218.609,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.12942,
    "h": 261.1
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28519B

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

Preview Lab → · Contrast checker → · Palette generator →

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