#28529A#28529A

#28529A is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.127 H 260.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#28529A
RGBrgb(40, 82, 154)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 60%)
CMYKcmyk(74%, 46.8%, 0%, 39.6%)
CIE-LABlab(35.63, 11.30, -43.61)
CIE-LCHlch(35.63, 45.05, 284.52°)
OKLaboklab(44.87% -0.0211 -0.125)
OKLCHoklch(44.87% 0.127 260.4)
XYZxyz(9.7230, 8.8177, 31.7552)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28529A #9A7028
analogous
#288B9A #28529A #37289A
triadic
#28529A #9A2852 #529A28
tetradic
#28529A #9A288B #9A7028 #289A37
square
#28529A #9A288B #9A7028 #289A37
split-complementary
#28529A #9A3728 #8B9A28
monochromatic
#0F1E39 #1B3869 #28529A #356CCA #658FD7

Accessibility & contrast

On white

7.60
#28529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#28529A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28529A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28529A#FFFFFF#000000##FFFFFF
##28529A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599D
Deuteranopia (green-blind)
#134F99
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28529a;
/* rgb */ color: rgb(40, 82, 154);
/* oklch */ color: oklch(44.9% 0.127 260.4);
Tailwind
colors: {
  custom: {
    50: '#7282b8',
    500: '#28529a',
    950: '#000000',
  },
}
SCSS
$custom: #28529a;
$custom-light: #7282b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28529a",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 217.895,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.12676,
    "h": 260.4
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#28529A
secondary
#BD9B61
accent
#A846E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28529A

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

Preview Lab → · Contrast checker → · Palette generator →

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