#28579E#28579E

#28579E is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.126 H 258.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#28579E
RGBrgb(40, 87, 158)
HSLhsl(216, 60%, 39%)
HSVhsv(216, 75%, 62%)
CMYKcmyk(74.7%, 44.9%, 0%, 38%)
CIE-LABlab(37.36, 9.54, -43.24)
CIE-LCHlch(37.36, 44.28, 282.44°)
OKLaboklab(46.29% -0.0249 -0.1238)
OKLCHoklch(46.29% 0.126 258.6)
XYZxyz(10.4526, 9.7350, 33.6693)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28579E #9E6F28
analogous
#28929E #28579E #34289E
triadic
#28579E #9E2857 #579E28
tetradic
#28579E #9E2892 #9E6F28 #289E34
square
#28579E #9E2892 #9E6F28 #289E34
split-complementary
#28579E #9E3428 #929E28
monochromatic
#0F213C #1C3C6D #28579E #3772CC #6895D9

Accessibility & contrast

On white

7.13
#28579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#28579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28579E
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28579E#FFFFFF#000000##FFFFFF
##28579E1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28579e;
/* rgb */ color: rgb(40, 87, 158);
/* oklch */ color: oklch(46.3% 0.126 258.6);
Tailwind
colors: {
  custom: {
    50: '#7285bb',
    500: '#28579e',
    950: '#000000',
  },
}
SCSS
$custom: #28579e;
$custom-light: #7285bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28579e",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 216.102,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.12629,
    "h": 258.6
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#28579E
secondary
#BF9A63
accent
#A445E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #28579E

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

Preview Lab → · Contrast checker → · Palette generator →

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