#28529F#28529F

#28529F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.134 H 261.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#28529F
RGBrgb(40, 82, 159)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(74.8%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.96, 13.23, -46.09)
CIE-LCHlch(35.96, 47.95, 286.02°)
OKLaboklab(45.23% -0.0203 -0.1323)
OKLCHoklch(45.23% 0.134 261.3)
XYZxyz(10.1481, 8.9878, 33.9942)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28529F #9F7528
analogous
#288E9F #28529F #3A289F
triadic
#28529F #9F2852 #529F28
tetradic
#28529F #9F288E #9F7528 #289F3A
square
#28529F #9F288E #9F7528 #289F3A
split-complementary
#28529F #9F3A28 #8E9F28
monochromatic
#0F203D #1C396E #28529F #376CCD #6890D9

Accessibility & contrast

On white

7.51
#28529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#28529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28529F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28529F#FFFFFF#000000##FFFFFF
##28529F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA2
Deuteranopia (green-blind)
#054F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28529f;
/* rgb */ color: rgb(40, 82, 159);
/* oklch */ color: oklch(45.2% 0.134 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382bc',
    500: '#28529f',
    950: '#000000',
  },
}
SCSS
$custom: #28529f;
$custom-light: #7382bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28529f",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 218.824,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.13382,
    "h": 261.3
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#28529F
secondary
#BF9F64
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28529F

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

Preview Lab → · Contrast checker → · Palette generator →

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