#28559A#28559A

#28559A is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.123 H 258.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#28559A
RGBrgb(40, 85, 154)
HSLhsl(216, 59%, 38%)
HSVhsv(216, 74%, 60%)
CMYKcmyk(74%, 44.8%, 0%, 39.6%)
CIE-LABlab(36.52, 9.31, -42.19)
CIE-LCHlch(36.52, 43.21, 282.44°)
OKLaboklab(45.55% -0.0239 -0.1207)
OKLCHoklch(45.55% 0.123 258.8)
XYZxyz(9.9542, 9.2801, 31.8322)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559A #9A6D28
analogous
#288E9A #28559A #34289A
triadic
#28559A #9A2855 #559A28
tetradic
#28559A #9A288E #9A6D28 #289A34
square
#28559A #9A288E #9A6D28 #289A34
split-complementary
#28559A #9A3428 #8E9A28
monochromatic
#0F1F39 #1B3A69 #28559A #3570CA #6592D7

Accessibility & contrast

On white

7.35
#28559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#28559A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28559A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559A#FFFFFF#000000##FFFFFF
##28559A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28559a;
/* rgb */ color: rgb(40, 85, 154);
/* oklch */ color: oklch(45.6% 0.123 258.8);
Tailwind
colors: {
  custom: {
    50: '#7184b8',
    500: '#28559a',
    950: '#000000',
  },
}
SCSS
$custom: #28559a;
$custom-light: #7184b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28559a",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 216.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.12309,
    "h": 258.8
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#28559A
secondary
#BD9961
accent
#A446E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28559A

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

Preview Lab → · Contrast checker → · Palette generator →

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