#28459F#28459F

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

Color values

HEX#28459F
RGBrgb(40, 69, 159)
HSLhsl(225, 60%, 39%)
HSVhsv(225, 75%, 62%)
CMYKcmyk(74.8%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.28, 21.96, -52.04)
CIE-LCHlch(32.28, 56.49, 292.88°)
OKLaboklab(42.43% -0.0094 -0.15)
OKLCHoklch(42.43% 0.15 266.4)
XYZxyz(9.2590, 7.2096, 33.6978)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28459F #9F8228
analogous
#28819F #28459F #47289F
triadic
#28459F #9F2845 #459F28
tetradic
#28459F #9F2881 #9F8228 #289F47
square
#28459F #9F2881 #9F8228 #289F47
split-complementary
#28459F #9F4728 #819F28
monochromatic
#0F1B3D #1C306E #28459F #375CCD #6884D9

Accessibility & contrast

On white

8.60
#28459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28459F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28459F#FFFFFF#000000##FFFFFF
##28459F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28459f;
/* rgb */ color: rgb(40, 69, 159);
/* oklch */ color: oklch(42.4% 0.150 266.4);
Tailwind
colors: {
  custom: {
    50: '#7378bc',
    500: '#28459f',
    950: '#000000',
  },
}
SCSS
$custom: #28459f;
$custom-light: #7378bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28459f",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 225.378,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.15031,
    "h": 266.4
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#28459F
secondary
#BFA964
accent
#BC45E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28459F

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

Preview Lab → · Contrast checker → · Palette generator →

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