#28579A#28579A

#28579A is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.0% C 0.121 H 257.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#28579A
RGBrgb(40, 87, 154)
HSLhsl(215, 59%, 38%)
HSVhsv(215, 74%, 60%)
CMYKcmyk(74%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.11, 8.00, -41.24)
CIE-LCHlch(37.11, 42.01, 280.97°)
OKLaboklab(46.01% -0.0257 -0.1179)
OKLCHoklch(46.01% 0.121 257.7)
XYZxyz(10.1139, 9.5995, 31.8854)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28579A #9A6B28
analogous
#28909A #28579A #32289A
triadic
#28579A #9A2857 #579A28
tetradic
#28579A #9A2890 #9A6B28 #289A32
square
#28579A #9A2890 #9A6B28 #289A32
split-complementary
#28579A #9A3228 #909A28
monochromatic
#0F2039 #1B3C69 #28579A #3572CA #6594D7

Accessibility & contrast

On white

7.19
#28579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#28579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28579A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28579A#FFFFFF#000000##FFFFFF
##28579A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9D
Deuteranopia (green-blind)
#225299
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28579a;
/* rgb */ color: rgb(40, 87, 154);
/* oklch */ color: oklch(46.0% 0.121 257.7);
Tailwind
colors: {
  custom: {
    50: '#7185b8',
    500: '#28579a',
    950: '#000000',
  },
}
SCSS
$custom: #28579a;
$custom-light: #7185b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28579a",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 215.263,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.1207,
    "h": 257.7
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#28579A
secondary
#BD9761
accent
#A246E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #28579A

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

Preview Lab → · Contrast checker → · Palette generator →

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