#28589C#28589C

#28589C is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.122 H 257.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#28589C
RGBrgb(40, 88, 156)
HSLhsl(215, 59%, 38%)
HSVhsv(215, 74%, 61%)
CMYKcmyk(74.4%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.53, 8.11, -41.77)
CIE-LCHlch(37.53, 42.55, 280.99°)
OKLaboklab(46.38% -0.0263 -0.1194)
OKLCHoklch(46.38% 0.122 257.6)
XYZxyz(10.3634, 9.8297, 32.7972)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28589C #9C6C28
analogous
#28929C #28589C #32289C
triadic
#28589C #9C2858 #589C28
tetradic
#28589C #9C2892 #9C6C28 #289C32
square
#28589C #9C2892 #9C6C28 #289C32
split-complementary
#28589C #9C3228 #929C28
monochromatic
#0F213B #1C3D6B #28589C #3674CB #6795D8

Accessibility & contrast

On white

7.08
#28589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28589C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28589C#FFFFFF#000000##FFFFFF
##28589C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#22539B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28589c;
/* rgb */ color: rgb(40, 88, 156);
/* oklch */ color: oklch(46.4% 0.122 257.6);
Tailwind
colors: {
  custom: {
    50: '#7286ba',
    500: '#28589c',
    950: '#000000',
  },
}
SCSS
$custom: #28589c;
$custom-light: #7286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28589c",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 215.172,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.1223,
    "h": 257.6
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#28589C
secondary
#BE9862
accent
#A145E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #28589C

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

Preview Lab → · Contrast checker → · Palette generator →

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