#28559D#28559D

#28559D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.127 H 259.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#28559D
RGBrgb(40, 85, 157)
HSLhsl(217, 59%, 39%)
HSVhsv(217, 75%, 62%)
CMYKcmyk(74.5%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.71, 10.47, -43.69)
CIE-LCHlch(36.71, 44.93, 283.48°)
OKLaboklab(45.76% -0.0233 -0.1252)
OKLCHoklch(45.76% 0.127 259.5)
XYZxyz(10.2072, 9.3813, 33.1646)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559D #9D7028
analogous
#288F9D #28559D #35289D
triadic
#28559D #9D2855 #559D28
tetradic
#28559D #9D288F #9D7028 #289D35
square
#28559D #9D288F #9D7028 #289D35
split-complementary
#28559D #9D3528 #8F9D28
monochromatic
#0F203B #1C3B6C #28559D #3670CC #6793D8

Accessibility & contrast

On white

7.30
#28559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#28559D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28559D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559D#FFFFFF#000000##FFFFFF
##28559D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#18519C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28559d;
/* rgb */ color: rgb(40, 85, 157);
/* oklch */ color: oklch(45.8% 0.127 259.5);
Tailwind
colors: {
  custom: {
    50: '#7284ba',
    500: '#28559d',
    950: '#000000',
  },
}
SCSS
$custom: #28559d;
$custom-light: #7284ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28559d",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 216.923,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.12731,
    "h": 259.5
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#28559D
secondary
#BE9B62
accent
#A645E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28559D

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

Preview Lab → · Contrast checker → · Palette generator →

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