#28589F#28589F

#28589F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.126 H 258.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#28589F
RGBrgb(40, 88, 159)
HSLhsl(216, 60%, 39%)
HSVhsv(216, 75%, 62%)
CMYKcmyk(74.8%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.72, 9.27, -43.27)
CIE-LCHlch(37.72, 44.25, 282.09°)
OKLaboklab(46.58% -0.0256 -0.1239)
OKLCHoklch(46.58% 0.126 258.3)
XYZxyz(10.6205, 9.9326, 34.1516)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28589F #9F6F28
analogous
#28949F #28589F #33289F
triadic
#28589F #9F2858 #589F28
tetradic
#28589F #9F2894 #9F6F28 #289F33
square
#28589F #9F2894 #9F6F28 #289F33
split-complementary
#28589F #9F3328 #949F28
monochromatic
#0F223D #1C3D6E #28589F #3774CD #6896D9

Accessibility & contrast

On white

7.03
#28589F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#28589F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28589F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28589F#FFFFFF#000000##FFFFFF
##28589F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28589f;
/* rgb */ color: rgb(40, 88, 159);
/* oklch */ color: oklch(46.6% 0.126 258.3);
Tailwind
colors: {
  custom: {
    50: '#7286bc',
    500: '#28589f',
    950: '#000000',
  },
}
SCSS
$custom: #28589f;
$custom-light: #7286bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28589f",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 215.798,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.12649,
    "h": 258.3
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#28589F
secondary
#BF9A64
accent
#A345E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #28589F

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

Preview Lab → · Contrast checker → · Palette generator →

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