#28528E#28528E

#28528E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.110 H 257.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#28528E
RGBrgb(40, 82, 142)
HSLhsl(215, 56%, 36%)
HSVhsv(215, 72%, 56%)
CMYKcmyk(71.8%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.88, 6.66, -37.54)
CIE-LCHlch(34.88, 38.13, 280.06°)
OKLaboklab(44.04% -0.0235 -0.1071)
OKLCHoklch(44.04% 0.11 257.6)
XYZxyz(8.7731, 8.4378, 26.7522)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28528E #8E6428
analogous
#28858E #28528E #31288E
triadic
#28528E #8E2852 #528E28
tetradic
#28528E #8E2885 #8E6428 #288E31
square
#28528E #8E2885 #8E6428 #288E31
split-complementary
#28528E #8E3128 #858E28
monochromatic
#0D1B2F #1B365E #28528E #356EBE #5F8ED2

Accessibility & contrast

On white

7.81
#28528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28528E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28528E#FFFFFF#000000##FFFFFF
##28528E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28528e;
/* rgb */ color: rgb(40, 82, 142);
/* oklch */ color: oklch(44.0% 0.110 257.6);
Tailwind
colors: {
  custom: {
    50: '#6f82af',
    500: '#28528e',
    950: '#000000',
  },
}
SCSS
$custom: #28528e;
$custom-light: #6f82af;
$custom-dark: #000000;
JSON
{
  "hex": "#28528e",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 215.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.1097,
    "h": 257.6
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#28528E
secondary
#B7915B
accent
#A148DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28528E

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

Preview Lab → · Contrast checker → · Palette generator →

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