#28508E#28508E

#28508E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.112 H 258.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#28508E
RGBrgb(40, 80, 142)
HSLhsl(216, 56%, 36%)
HSVhsv(216, 72%, 56%)
CMYKcmyk(71.8%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.27, 7.98, -38.51)
CIE-LCHlch(34.27, 39.33, 281.71°)
OKLaboklab(43.58% -0.0215 -0.11)
OKLCHoklch(43.58% 0.112 258.9)
XYZxyz(8.6245, 8.1405, 26.7027)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28508E #8E6628
analogous
#28838E #28508E #33288E
triadic
#28508E #8E2850 #508E28
tetradic
#28508E #8E2883 #8E6628 #288E33
square
#28508E #8E2883 #8E6628 #288E33
split-complementary
#28508E #8E3328 #838E28
monochromatic
#0D1A2F #1B355E #28508E #356BBE #5F8CD2

Accessibility & contrast

On white

7.99
#28508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#28508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28508E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28508E#FFFFFF#000000##FFFFFF
##28508E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325690
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #28508e;
/* rgb */ color: rgb(40, 80, 142);
/* oklch */ color: oklch(43.6% 0.112 258.9);
Tailwind
colors: {
  custom: {
    50: '#6f80af',
    500: '#28508e',
    950: '#000000',
  },
}
SCSS
$custom: #28508e;
$custom-light: #6f80af;
$custom-dark: #000000;
JSON
{
  "hex": "#28508e",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 216.471,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.1121,
    "h": 258.9
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#28508E
secondary
#B7935B
accent
#A448DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28508E

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

Preview Lab → · Contrast checker → · Palette generator →

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