#28519C#28519C

#28519C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.131 H 261.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#28519C
RGBrgb(40, 81, 156)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 61%)
CMYKcmyk(74.4%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.47, 12.74, -45.08)
CIE-LCHlch(35.47, 46.84, 285.78°)
OKLaboklab(44.79% -0.0198 -0.1293)
OKLCHoklch(44.79% 0.131 261.3)
XYZxyz(9.8161, 8.7352, 32.6148)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28519C #9C7328
analogous
#288B9C #28519C #39289C
triadic
#28519C #9C2851 #519C28
tetradic
#28519C #9C288B #9C7328 #289C39
square
#28519C #9C288B #9C7328 #289C39
split-complementary
#28519C #9C3928 #8B9C28
monochromatic
#0F1E3B #1C386B #28519C #366BCB #678FD8

Accessibility & contrast

On white

7.64
#28519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#28519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28519C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28519C#FFFFFF#000000##FFFFFF
##28519C1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#094E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28519c;
/* rgb */ color: rgb(40, 81, 156);
/* oklch */ color: oklch(44.8% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#7281ba',
    500: '#28519c',
    950: '#000000',
  },
}
SCSS
$custom: #28519c;
$custom-light: #7281ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28519c",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 218.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44787,
    "c": 0.13083,
    "h": 261.3
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#28519C
secondary
#BE9D62
accent
#AB45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28519C

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

Preview Lab → · Contrast checker → · Palette generator →

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