#28508D#28508D

#28508D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.111 H 258.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#28508D
RGBrgb(40, 80, 141)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 55%)
CMYKcmyk(71.6%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.21, 7.60, -38.00)
CIE-LCHlch(34.21, 38.75, 281.31°)
OKLaboklab(43.51% -0.0217 -0.1085)
OKLCHoklch(43.51% 0.111 258.7)
XYZxyz(8.5497, 8.1106, 26.3091)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28508D #8D6528
analogous
#28828D #28508D #33288D
triadic
#28508D #8D2850 #508D28
tetradic
#28508D #8D2882 #8D6528 #288D33
square
#28508D #8D2882 #8D6528 #288D33
split-complementary
#28508D #8D3328 #828D28
monochromatic
#0D1A2E #1A355D #28508D #366BBD #5E8CD1

Accessibility & contrast

On white

8.01
#28508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#28508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28508D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28508D#FFFFFF#000000##FFFFFF
##28508D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #28508d;
/* rgb */ color: rgb(40, 80, 141);
/* oklch */ color: oklch(43.5% 0.111 258.7);
Tailwind
colors: {
  custom: {
    50: '#6f80af',
    500: '#28508d',
    950: '#000000',
  },
}
SCSS
$custom: #28508d;
$custom-light: #6f80af;
$custom-dark: #000000;
JSON
{
  "hex": "#28508d",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 216.238,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43508,
    "c": 0.11067,
    "h": 258.7
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#28508D
secondary
#B7925A
accent
#A449DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28508D

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

Preview Lab → · Contrast checker → · Palette generator →

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