#28529B#28529B

#28529B is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.128 H 260.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#28529B
RGBrgb(40, 82, 155)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 61%)
CMYKcmyk(74.2%, 47.1%, 0%, 39.2%)
CIE-LABlab(35.70, 11.68, -44.11)
CIE-LCHlch(35.70, 45.63, 284.83°)
OKLaboklab(44.94% -0.0209 -0.1264)
OKLCHoklch(44.94% 0.128 260.6)
XYZxyz(9.8066, 8.8512, 32.1956)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28529B #9B7128
analogous
#288B9B #28529B #37289B
triadic
#28529B #9B2852 #529B28
tetradic
#28529B #9B288B #9B7128 #289B37
square
#28529B #9B288B #9B7128 #289B37
split-complementary
#28529B #9B3728 #8B9B28
monochromatic
#0F1F3A #1B386A #28529B #356CCB #668FD7

Accessibility & contrast

On white

7.58
#28529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#28529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28529B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28529B#FFFFFF#000000##FFFFFF
##28529B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#114F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28529b;
/* rgb */ color: rgb(40, 82, 155);
/* oklch */ color: oklch(44.9% 0.128 260.6);
Tailwind
colors: {
  custom: {
    50: '#7282b9',
    500: '#28529b',
    950: '#000000',
  },
}
SCSS
$custom: #28529b;
$custom-light: #7282b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28529b",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 218.087,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4494,
    "c": 0.12817,
    "h": 260.6
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#28529B
secondary
#BD9C61
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28529B

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

Preview Lab → · Contrast checker → · Palette generator →

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