#28519E#28519E

#28519E is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.134 H 261.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#28519E
RGBrgb(40, 81, 158)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(74.7%, 48.7%, 0%, 38%)
CIE-LABlab(35.60, 13.51, -46.07)
CIE-LCHlch(35.60, 48.01, 286.35°)
OKLaboklab(44.93% -0.0195 -0.1322)
OKLCHoklch(44.93% 0.134 261.6)
XYZxyz(9.9868, 8.8035, 33.5140)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28519E #9E7528
analogous
#288C9E #28519E #3A289E
triadic
#28519E #9E2851 #519E28
tetradic
#28519E #9E288C #9E7528 #289E3A
square
#28519E #9E288C #9E7528 #289E3A
split-complementary
#28519E #9E3A28 #8C9E28
monochromatic
#0F1F3C #1C386D #28519E #376BCC #688FD9

Accessibility & contrast

On white

7.61
#28519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#28519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28519E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28519E#FFFFFF#000000##FFFFFF
##28519E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A1
Deuteranopia (green-blind)
#024F9C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28519e;
/* rgb */ color: rgb(40, 81, 158);
/* oklch */ color: oklch(44.9% 0.134 261.6);
Tailwind
colors: {
  custom: {
    50: '#7281bb',
    500: '#28519e',
    950: '#000000',
  },
}
SCSS
$custom: #28519e;
$custom-light: #7281bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28519e",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 219.153,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.13366,
    "h": 261.6
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#28519E
secondary
#BF9F63
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28519E

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

Preview Lab → · Contrast checker → · Palette generator →

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