#28508A#28508A

#28508A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.106 H 257.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#28508A
RGBrgb(40, 80, 138)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 54%)
CMYKcmyk(71%, 42%, 0%, 45.9%)
CIE-LABlab(34.03, 6.44, -36.45)
CIE-LCHlch(34.03, 37.02, 280.03°)
OKLaboklab(43.31% -0.0224 -0.104)
OKLCHoklch(43.31% 0.106 257.8)
XYZxyz(8.3295, 8.0226, 25.1494)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28508A #8A6228
analogous
#28818A #28508A #31288A
triadic
#28508A #8A2850 #508A28
tetradic
#28508A #8A2881 #8A6228 #288A31
square
#28508A #8A2881 #8A6228 #288A31
split-complementary
#28508A #8A3128 #818A28
monochromatic
#0C192B #1A345B #28508A #366CB9 #5D8CD0

Accessibility & contrast

On white

8.06
#28508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#28508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28508A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28508A#FFFFFF#000000##FFFFFF
##28508A1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28508a;
/* rgb */ color: rgb(40, 80, 138);
/* oklch */ color: oklch(43.3% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e80ac',
    500: '#28508a',
    950: '#000000',
  },
}
SCSS
$custom: #28508a;
$custom-light: #6e80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#28508a",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 215.51,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43307,
    "c": 0.10637,
    "h": 257.8
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#28508A
secondary
#B58F59
accent
#A249DE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28508A

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

Preview Lab → · Contrast checker → · Palette generator →

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