#28579C#28579C

#28579C is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.1% C 0.123 H 258.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#28579C
RGBrgb(40, 87, 156)
HSLhsl(216, 59%, 38%)
HSVhsv(216, 74%, 61%)
CMYKcmyk(74.4%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.24, 8.77, -42.24)
CIE-LCHlch(37.24, 43.14, 281.73°)
OKLaboklab(46.15% -0.0253 -0.1209)
OKLCHoklch(46.15% 0.124 258.2)
XYZxyz(10.2818, 9.6667, 32.7700)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28579C #9C6D28
analogous
#28919C #28579C #33289C
triadic
#28579C #9C2857 #579C28
tetradic
#28579C #9C2891 #9C6D28 #289C33
square
#28579C #9C2891 #9C6D28 #289C33
split-complementary
#28579C #9C3328 #919C28
monochromatic
#0F213B #1C3C6B #28579C #3672CB #6794D8

Accessibility & contrast

On white

7.16
#28579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#28579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28579C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28579C#FFFFFF#000000##FFFFFF
##28579C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28579c;
/* rgb */ color: rgb(40, 87, 156);
/* oklch */ color: oklch(46.1% 0.123 258.2);
Tailwind
colors: {
  custom: {
    50: '#7285ba',
    500: '#28579c',
    950: '#000000',
  },
}
SCSS
$custom: #28579c;
$custom-light: #7285ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28579c",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 215.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46149,
    "c": 0.1235,
    "h": 258.2
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#28579C
secondary
#BE9962
accent
#A345E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #28579C

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

Preview Lab → · Contrast checker → · Palette generator →

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