#28519F#28519F

#28519F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.135 H 261.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#28519F
RGBrgb(40, 81, 159)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(74.8%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.67, 13.90, -46.56)
CIE-LCHlch(35.67, 48.59, 286.62°)
OKLaboklab(45.01% -0.0194 -0.1337)
OKLCHoklch(45.01% 0.135 261.8)
XYZxyz(10.0733, 8.8381, 33.9692)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28519F #9F7628
analogous
#288D9F #28519F #3B289F
triadic
#28519F #9F2851 #519F28
tetradic
#28519F #9F288D #9F7628 #289F3B
square
#28519F #9F288D #9F7628 #289F3B
split-complementary
#28519F #9F3B28 #8D9F28
monochromatic
#0F1F3D #1C386E #28519F #376BCD #688FD9

Accessibility & contrast

On white

7.59
#28519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#28519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28519F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28519F#FFFFFF#000000##FFFFFF
##28519F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28519f;
/* rgb */ color: rgb(40, 81, 159);
/* oklch */ color: oklch(45.0% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#7381bc',
    500: '#28519f',
    950: '#000000',
  },
}
SCSS
$custom: #28519f;
$custom-light: #7381bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28519f",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 219.328,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.13507,
    "h": 261.8
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28519F

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

Preview Lab → · Contrast checker → · Palette generator →

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