#28459A#28459A

#28459A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.143 H 266.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#28459A
RGBrgb(40, 69, 154)
HSLhsl(225, 59%, 38%)
HSVhsv(225, 74%, 60%)
CMYKcmyk(74%, 55.2%, 0%, 39.6%)
CIE-LABlab(31.90, 20.03, -49.64)
CIE-LCHlch(31.90, 53.53, 291.98°)
OKLaboklab(42.02% -0.0097 -0.1429)
OKLCHoklch(42.02% 0.143 266.1)
XYZxyz(8.8339, 7.0395, 31.4588)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28459A #9A7D28
analogous
#287E9A #28459A #44289A
triadic
#28459A #9A2845 #459A28
tetradic
#28459A #9A287E #9A7D28 #289A44
square
#28459A #9A287E #9A7D28 #289A44
split-complementary
#28459A #9A4428 #7E9A28
monochromatic
#0F1939 #1B2F69 #28459A #355BCA #6582D7

Accessibility & contrast

On white

8.72
#28459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#28459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28459A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28459A#FFFFFF#000000##FFFFFF
##28459A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28459a;
/* rgb */ color: rgb(40, 69, 154);
/* oklch */ color: oklch(42.0% 0.143 266.1);
Tailwind
colors: {
  custom: {
    50: '#7278b8',
    500: '#28459a',
    950: '#000000',
  },
}
SCSS
$custom: #28459a;
$custom-light: #7278b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28459a",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 224.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.14328,
    "h": 266.1
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#28459A
secondary
#BDA661
accent
#BA46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28459A

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

Preview Lab → · Contrast checker → · Palette generator →

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