#28459E#28459E

#28459E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.149 H 266.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#28459E
RGBrgb(40, 69, 158)
HSLhsl(225, 60%, 39%)
HSVhsv(225, 75%, 62%)
CMYKcmyk(74.7%, 56.3%, 0%, 38%)
CIE-LABlab(32.20, 21.58, -51.56)
CIE-LCHlch(32.20, 55.90, 292.71°)
OKLaboklab(42.35% -0.0095 -0.1486)
OKLCHoklch(42.35% 0.149 266.4)
XYZxyz(9.1726, 7.1750, 33.2426)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28459E #9E8128
analogous
#28809E #28459E #46289E
triadic
#28459E #9E2845 #459E28
tetradic
#28459E #9E2880 #9E8128 #289E46
square
#28459E #9E2880 #9E8128 #289E46
split-complementary
#28459E #9E4628 #809E28
monochromatic
#0F1A3C #1C306D #28459E #375CCC #6883D9

Accessibility & contrast

On white

8.62
#28459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#28459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28459E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28459E#FFFFFF#000000##FFFFFF
##28459E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28459e;
/* rgb */ color: rgb(40, 69, 158);
/* oklch */ color: oklch(42.3% 0.149 266.4);
Tailwind
colors: {
  custom: {
    50: '#7378bb',
    500: '#28459e',
    950: '#000000',
  },
}
SCSS
$custom: #28459e;
$custom-light: #7378bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28459e",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 225.254,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.14892,
    "h": 266.4
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#28459E
secondary
#BFA863
accent
#BC45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28459E

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

Preview Lab → · Contrast checker → · Palette generator →

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