#28509E#28509E

#28509E is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.135 H 262.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#28509E
RGBrgb(40, 80, 158)
HSLhsl(220, 60%, 39%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(74.7%, 49.4%, 0%, 38%)
CIE-LABlab(35.31, 14.18, -46.53)
CIE-LCHlch(35.31, 48.64, 286.95°)
OKLaboklab(44.71% -0.0187 -0.1336)
OKLCHoklch(44.71% 0.135 262.1)
XYZxyz(9.9131, 8.6560, 33.4894)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28509E #9E7628
analogous
#288B9E #28509E #3B289E
triadic
#28509E #9E2850 #509E28
tetradic
#28509E #9E288B #9E7628 #289E3B
square
#28509E #9E288B #9E7628 #289E3B
split-complementary
#28509E #9E3B28 #8B9E28
monochromatic
#0F1F3C #1C376D #28509E #376ACC #688ED9

Accessibility & contrast

On white

7.69
#28509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#28509E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28509E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28509E#FFFFFF#000000##FFFFFF
##28509E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28509e;
/* rgb */ color: rgb(40, 80, 158);
/* oklch */ color: oklch(44.7% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#7280bb',
    500: '#28509e',
    950: '#000000',
  },
}
SCSS
$custom: #28509e;
$custom-light: #7280bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28509e",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 219.661,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.13492,
    "h": 262.1
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#28509E
secondary
#BFA063
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28509E

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

Preview Lab → · Contrast checker → · Palette generator →

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