#28519A#28519A

#28519A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.6% C 0.128 H 260.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#28519A
RGBrgb(40, 81, 154)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 60%)
CMYKcmyk(74%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.34, 11.96, -44.09)
CIE-LCHlch(35.34, 45.68, 285.18°)
OKLaboklab(44.64% -0.0202 -0.1264)
OKLCHoklch(44.64% 0.128 260.9)
XYZxyz(9.6481, 8.6680, 31.7302)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28519A #9A7128
analogous
#288A9A #28519A #38289A
triadic
#28519A #9A2851 #519A28
tetradic
#28519A #9A288A #9A7128 #289A38
square
#28519A #9A288A #9A7128 #289A38
split-complementary
#28519A #9A3828 #8A9A28
monochromatic
#0F1E39 #1B3769 #28519A #356BCA #658ED7

Accessibility & contrast

On white

7.68
#28519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#28519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28519A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28519A#FFFFFF#000000##FFFFFF
##28519A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28519a;
/* rgb */ color: rgb(40, 81, 154);
/* oklch */ color: oklch(44.6% 0.128 260.9);
Tailwind
colors: {
  custom: {
    50: '#7281b8',
    500: '#28519a',
    950: '#000000',
  },
}
SCSS
$custom: #28519a;
$custom-light: #7281b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28519a",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 218.421,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.128,
    "h": 260.9
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28519A

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

Preview Lab → · Contrast checker → · Palette generator →

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