#28589E#28589E

#28589E is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.5% C 0.125 H 258.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#28589E
RGBrgb(40, 88, 158)
HSLhsl(216, 60%, 39%)
HSVhsv(216, 75%, 62%)
CMYKcmyk(74.7%, 44.3%, 0%, 38%)
CIE-LABlab(37.66, 8.88, -42.77)
CIE-LCHlch(37.66, 43.68, 281.74°)
OKLaboklab(46.52% -0.0258 -0.1224)
OKLCHoklch(46.52% 0.125 258.1)
XYZxyz(10.5341, 9.8980, 33.6965)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28589E #9E6E28
analogous
#28939E #28589E #33289E
triadic
#28589E #9E2858 #589E28
tetradic
#28589E #9E2893 #9E6E28 #289E33
square
#28589E #9E2893 #9E6E28 #289E33
split-complementary
#28589E #9E3328 #939E28
monochromatic
#0F223C #1C3D6D #28589E #3774CC #6896D9

Accessibility & contrast

On white

7.05
#28589E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#28589E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28589E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28589E#FFFFFF#000000##FFFFFF
##28589E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA1
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28589e;
/* rgb */ color: rgb(40, 88, 158);
/* oklch */ color: oklch(46.5% 0.125 258.1);
Tailwind
colors: {
  custom: {
    50: '#7286bb',
    500: '#28589e',
    950: '#000000',
  },
}
SCSS
$custom: #28589e;
$custom-light: #7286bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28589e",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 215.593,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.12509,
    "h": 258.1
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28589E

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

Preview Lab → · Contrast checker → · Palette generator →

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