#28529E#28529E

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

Color values

HEX#28529E
RGBrgb(40, 82, 158)
HSLhsl(219, 60%, 39%)
HSVhsv(219, 75%, 62%)
CMYKcmyk(74.7%, 48.1%, 0%, 38%)
CIE-LABlab(35.89, 12.85, -45.60)
CIE-LCHlch(35.89, 47.37, 285.73°)
OKLaboklab(45.16% -0.0204 -0.1308)
OKLCHoklch(45.16% 0.132 261.1)
XYZxyz(10.0617, 8.9532, 33.5390)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28529E #9E7428
analogous
#288D9E #28529E #39289E
triadic
#28529E #9E2852 #529E28
tetradic
#28529E #9E288D #9E7428 #289E39
square
#28529E #9E288D #9E7428 #289E39
split-complementary
#28529E #9E3928 #8D9E28
monochromatic
#0F1F3C #1C396D #28529E #376CCC #6890D9

Accessibility & contrast

On white

7.52
#28529E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#28529E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28529E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28529E#FFFFFF#000000##FFFFFF
##28529E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28529e;
/* rgb */ color: rgb(40, 82, 158);
/* oklch */ color: oklch(45.2% 0.132 261.1);
Tailwind
colors: {
  custom: {
    50: '#7282bb',
    500: '#28529e',
    950: '#000000',
  },
}
SCSS
$custom: #28529e;
$custom-light: #7282bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28529e",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 158
  },
  "hsl": {
    "h": 218.644,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.13241,
    "h": 261.1
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28529E

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

Preview Lab → · Contrast checker → · Palette generator →

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