#28589D#28589D

#28589D is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.4% C 0.124 H 257.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#28589D
RGBrgb(40, 88, 157)
HSLhsl(215, 59%, 39%)
HSVhsv(215, 75%, 62%)
CMYKcmyk(74.5%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.60, 8.50, -42.27)
CIE-LCHlch(37.60, 43.11, 281.37°)
OKLaboklab(46.45% -0.026 -0.1209)
OKLCHoklch(46.45% 0.124 257.8)
XYZxyz(10.4484, 9.8637, 33.2450)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28589D #9D6D28
analogous
#28929D #28589D #33289D
triadic
#28589D #9D2858 #589D28
tetradic
#28589D #9D2892 #9D6D28 #289D33
square
#28589D #9D2892 #9D6D28 #289D33
split-complementary
#28589D #9D3328 #929D28
monochromatic
#0F213B #1C3D6C #28589D #3674CC #6796D8

Accessibility & contrast

On white

7.06
#28589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#28589D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28589D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28589D#FFFFFF#000000##FFFFFF
##28589D1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#21539C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28589d;
/* rgb */ color: rgb(40, 88, 157);
/* oklch */ color: oklch(46.4% 0.124 257.8);
Tailwind
colors: {
  custom: {
    50: '#7286ba',
    500: '#28589d',
    950: '#000000',
  },
}
SCSS
$custom: #28589d;
$custom-light: #7286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28589d",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 215.385,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.12369,
    "h": 257.8
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#28589D
secondary
#BE9962
accent
#A245E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #28589D

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

Preview Lab → · Contrast checker → · Palette generator →

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