#28508B#28508B

#28508B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.108 H 258.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#28508B
RGBrgb(40, 80, 139)
HSLhsl(216, 55%, 35%)
HSVhsv(216, 71%, 55%)
CMYKcmyk(71.2%, 42.4%, 0%, 45.5%)
CIE-LABlab(34.09, 6.83, -36.97)
CIE-LCHlch(34.09, 37.59, 280.47°)
OKLaboklab(43.37% -0.0222 -0.1055)
OKLCHoklch(43.37% 0.108 258.1)
XYZxyz(8.4022, 8.0516, 25.5324)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28508B #8B6328
analogous
#28818B #28508B #32288B
triadic
#28508B #8B2850 #508B28
tetradic
#28508B #8B2881 #8B6328 #288B32
square
#28508B #8B2881 #8B6328 #288B32
split-complementary
#28508B #8B3228 #818B28
monochromatic
#0D192C #1A355B #28508B #366BBB #5D8CD0

Accessibility & contrast

On white

8.04
#28508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#28508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28508B
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28508B#FFFFFF#000000##FFFFFF
##28508B1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28508b;
/* rgb */ color: rgb(40, 80, 139);
/* oklch */ color: oklch(43.4% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e80ad',
    500: '#28508b',
    950: '#000000',
  },
}
SCSS
$custom: #28508b;
$custom-light: #6e80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28508b",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 215.758,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.1078,
    "h": 258.1
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#28508B
secondary
#B69059
accent
#A249DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28508B

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

Preview Lab → · Contrast checker → · Palette generator →

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