#28509F#28509F

#28509F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.136 H 262.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#28509F
RGBrgb(40, 80, 159)
HSLhsl(220, 60%, 39%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(74.8%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.38, 14.57, -47.02)
CIE-LCHlch(35.38, 49.23, 287.21°)
OKLaboklab(44.78% -0.0185 -0.1351)
OKLCHoklch(44.78% 0.136 262.2)
XYZxyz(9.9995, 8.6905, 33.9446)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28509F #9F7728
analogous
#288C9F #28509F #3C289F
triadic
#28509F #9F2850 #509F28
tetradic
#28509F #9F288C #9F7728 #289F3C
square
#28509F #9F288C #9F7728 #289F3C
split-complementary
#28509F #9F3C28 #8C9F28
monochromatic
#0F1F3D #1C376E #28509F #376ACD #688ED9

Accessibility & contrast

On white

7.67
#28509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#28509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28509F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28509F#FFFFFF#000000##FFFFFF
##28509F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #28509f;
/* rgb */ color: rgb(40, 80, 159);
/* oklch */ color: oklch(44.8% 0.136 262.2);
Tailwind
colors: {
  custom: {
    50: '#7380bc',
    500: '#28509f',
    950: '#000000',
  },
}
SCSS
$custom: #28509f;
$custom-light: #7380bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28509f",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 219.832,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.13632,
    "h": 262.2
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#28509F
secondary
#BFA064
accent
#AE45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #28509F

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

Preview Lab → · Contrast checker → · Palette generator →

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