#28459B#28459B

#28459B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.145 H 266.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#28459B
RGBrgb(40, 69, 155)
HSLhsl(225, 59%, 38%)
HSVhsv(225, 74%, 61%)
CMYKcmyk(74.2%, 55.5%, 0%, 39.2%)
CIE-LABlab(31.97, 20.42, -50.12)
CIE-LCHlch(31.97, 54.12, 292.17°)
OKLaboklab(42.1% -0.0097 -0.1444)
OKLCHoklch(42.1% 0.145 266.2)
XYZxyz(8.9175, 7.0730, 31.8992)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28459B #9B7E28
analogous
#287E9B #28459B #45289B
triadic
#28459B #9B2845 #459B28
tetradic
#28459B #9B287E #9B7E28 #289B45
square
#28459B #9B287E #9B7E28 #289B45
split-complementary
#28459B #9B4528 #7E9B28
monochromatic
#0F1A3A #1B2F6A #28459B #355BCB #6683D7

Accessibility & contrast

On white

8.70
#28459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28459B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28459B#FFFFFF#000000##FFFFFF
##28459B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28459b;
/* rgb */ color: rgb(40, 69, 155);
/* oklch */ color: oklch(42.1% 0.145 266.2);
Tailwind
colors: {
  custom: {
    50: '#7278b9',
    500: '#28459b',
    950: '#000000',
  },
}
SCSS
$custom: #28459b;
$custom-light: #7278b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28459b",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 224.87,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42102,
    "c": 0.14469,
    "h": 266.2
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28459B

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

Preview Lab → · Contrast checker → · Palette generator →

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