#28459D#28459D

#28459D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.148 H 266.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#28459D
RGBrgb(40, 69, 157)
HSLhsl(225, 59%, 39%)
HSVhsv(225, 75%, 62%)
CMYKcmyk(74.5%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.13, 21.19, -51.08)
CIE-LCHlch(32.13, 55.31, 292.53°)
OKLaboklab(42.27% -0.0095 -0.1472)
OKLCHoklch(42.27% 0.148 266.3)
XYZxyz(9.0869, 7.1407, 32.7911)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28459D #9D8028
analogous
#287F9D #28459D #45289D
triadic
#28459D #9D2845 #459D28
tetradic
#28459D #9D287F #9D8028 #289D45
square
#28459D #9D287F #9D8028 #289D45
split-complementary
#28459D #9D4528 #7F9D28
monochromatic
#0F1A3B #1C306C #28459D #365BCC #6783D8

Accessibility & contrast

On white

8.65
#28459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#28459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28459D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28459D#FFFFFF#000000##FFFFFF
##28459D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28459d;
/* rgb */ color: rgb(40, 69, 157);
/* oklch */ color: oklch(42.3% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#7378bb',
    500: '#28459d',
    950: '#000000',
  },
}
SCSS
$custom: #28459d;
$custom-light: #7378bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28459d",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 225.128,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.14751,
    "h": 266.3
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28459D

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

Preview Lab → · Contrast checker → · Palette generator →

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