#28509C#28509C

#28509C is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.132 H 261.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#28509C
RGBrgb(40, 80, 156)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 74%, 61%)
CMYKcmyk(74.4%, 48.7%, 0%, 38.8%)
CIE-LABlab(35.18, 13.40, -45.55)
CIE-LCHlch(35.18, 47.48, 286.40°)
OKLaboklab(44.56% -0.019 -0.1307)
OKLCHoklch(44.56% 0.132 261.7)
XYZxyz(9.7423, 8.5877, 32.5902)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28509C #9C7428
analogous
#288A9C #28509C #3A289C
triadic
#28509C #9C2850 #509C28
tetradic
#28509C #9C288A #9C7428 #289C3A
square
#28509C #9C288A #9C7428 #289C3A
split-complementary
#28509C #9C3A28 #8A9C28
monochromatic
#0F1E3B #1C376B #28509C #3669CB #678ED8

Accessibility & contrast

On white

7.73
#28509C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#28509C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28509C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28509C#FFFFFF#000000##FFFFFF
##28509C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#034E9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28509c;
/* rgb */ color: rgb(40, 80, 156);
/* oklch */ color: oklch(44.6% 0.132 261.7);
Tailwind
colors: {
  custom: {
    50: '#7280ba',
    500: '#28509c',
    950: '#000000',
  },
}
SCSS
$custom: #28509c;
$custom-light: #7280ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28509c",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 219.31,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.13209,
    "h": 261.7
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#28509C
secondary
#BE9E62
accent
#AC45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #28509C

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

Preview Lab → · Contrast checker → · Palette generator →

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