#28539A#28539A

#28539A is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.1% C 0.126 H 259.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#28539A
RGBrgb(40, 83, 154)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 60%)
CMYKcmyk(74%, 46.1%, 0%, 39.6%)
CIE-LABlab(35.93, 10.63, -43.14)
CIE-LCHlch(35.93, 44.43, 283.84°)
OKLaboklab(45.1% -0.022 -0.1236)
OKLCHoklch(45.1% 0.126 259.9)
XYZxyz(9.7990, 8.9697, 31.7805)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28539A #9A6F28
analogous
#288C9A #28539A #36289A
triadic
#28539A #9A2853 #539A28
tetradic
#28539A #9A288C #9A6F28 #289A36
square
#28539A #9A288C #9A6F28 #289A36
split-complementary
#28539A #9A3628 #8C9A28
monochromatic
#0F1F39 #1B3969 #28539A #356DCA #6590D7

Accessibility & contrast

On white

7.52
#28539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#28539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28539A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28539A#FFFFFF#000000##FFFFFF
##28539A1.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)
#2F5A9D
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28539a;
/* rgb */ color: rgb(40, 83, 154);
/* oklch */ color: oklch(45.1% 0.126 259.9);
Tailwind
colors: {
  custom: {
    50: '#7182b8',
    500: '#28539a',
    950: '#000000',
  },
}
SCSS
$custom: #28539a;
$custom-light: #7182b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28539a",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 217.368,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.12552,
    "h": 259.9
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#28539A
secondary
#BD9A61
accent
#A746E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28539A

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

Preview Lab → · Contrast checker → · Palette generator →

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