#28559B#28559B

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

Color values

HEX#28559B
RGBrgb(40, 85, 155)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 74%, 61%)
CMYKcmyk(74.2%, 45.2%, 0%, 39.2%)
CIE-LABlab(36.58, 9.70, -42.69)
CIE-LCHlch(36.58, 43.78, 282.80°)
OKLaboklab(45.62% -0.0237 -0.1222)
OKLCHoklch(45.62% 0.124 259)
XYZxyz(10.0378, 9.3136, 32.2727)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28559B #9B6E28
analogous
#288E9B #28559B #35289B
triadic
#28559B #9B2855 #559B28
tetradic
#28559B #9B288E #9B6E28 #289B35
square
#28559B #9B288E #9B6E28 #289B35
split-complementary
#28559B #9B3528 #8E9B28
monochromatic
#0F203A #1B3A6A #28559B #3570CB #6692D7

Accessibility & contrast

On white

7.33
#28559B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28559B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28559B#FFFFFF#000000##FFFFFF
##28559B1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #28559b;
/* rgb */ color: rgb(40, 85, 155);
/* oklch */ color: oklch(45.6% 0.124 259.0);
Tailwind
colors: {
  custom: {
    50: '#7284b9',
    500: '#28559b',
    950: '#000000',
  },
}
SCSS
$custom: #28559b;
$custom-light: #7284b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28559b",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 216.522,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.12449,
    "h": 259
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28559B

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

Preview Lab → · Contrast checker → · Palette generator →

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