#28528F#28528F

#28528F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.111 H 257.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#28528F
RGBrgb(40, 82, 143)
HSLhsl(216, 56%, 36%)
HSVhsv(216, 72%, 56%)
CMYKcmyk(72%, 42.7%, 0%, 43.9%)
CIE-LABlab(34.94, 7.05, -38.06)
CIE-LCHlch(34.94, 38.70, 280.49°)
OKLaboklab(44.11% -0.0233 -0.1087)
OKLCHoklch(44.11% 0.111 257.9)
XYZxyz(8.8485, 8.4679, 27.1494)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28528F #8F6528
analogous
#28858F #28528F #31288F
triadic
#28528F #8F2852 #528F28
tetradic
#28528F #8F2885 #8F6528 #288F31
square
#28528F #8F2885 #8F6528 #288F31
split-complementary
#28528F #8F3128 #858F28
monochromatic
#0D1B2F #1B375F #28528F #356DBF #5F8ED2

Accessibility & contrast

On white

7.80
#28528F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#28528F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28528F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28528F#FFFFFF#000000##FFFFFF
##28528F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28528f;
/* rgb */ color: rgb(40, 82, 143);
/* oklch */ color: oklch(44.1% 0.111 257.9);
Tailwind
colors: {
  custom: {
    50: '#6f82b0',
    500: '#28528f',
    950: '#000000',
  },
}
SCSS
$custom: #28528f;
$custom-light: #6f82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28528f",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 215.534,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.11113,
    "h": 257.9
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#28528F
secondary
#B8925B
accent
#A248E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28528F

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

Preview Lab → · Contrast checker → · Palette generator →

#28528F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva