#28539B#28539B

#28539B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.127 H 260.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#28539B
RGBrgb(40, 83, 155)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 74%, 61%)
CMYKcmyk(74.2%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.99, 11.02, -43.64)
CIE-LCHlch(35.99, 45.01, 284.17°)
OKLaboklab(45.17% -0.0218 -0.125)
OKLCHoklch(45.17% 0.127 260.1)
XYZxyz(9.8826, 9.0031, 32.2209)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28539B #9B7028
analogous
#288C9B #28539B #36289B
triadic
#28539B #9B2853 #539B28
tetradic
#28539B #9B288C #9B7028 #289B36
square
#28539B #9B288C #9B7028 #289B36
split-complementary
#28539B #9B3628 #8C9B28
monochromatic
#0F1F3A #1B396A #28539B #356DCB #6690D7

Accessibility & contrast

On white

7.50
#28539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#28539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28539B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28539B#FFFFFF#000000##FFFFFF
##28539B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9E
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #28539b;
/* rgb */ color: rgb(40, 83, 155);
/* oklch */ color: oklch(45.2% 0.127 260.1);
Tailwind
colors: {
  custom: {
    50: '#7282b9',
    500: '#28539b',
    950: '#000000',
  },
}
SCSS
$custom: #28539b;
$custom-light: #7282b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28539b",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 217.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.12694,
    "h": 260.1
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28539B

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

Preview Lab → · Contrast checker → · Palette generator →

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