#28489D#28489D

#28489D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.144 H 265.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#28489D
RGBrgb(40, 72, 157)
HSLhsl(224, 59%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(74.5%, 54.1%, 0%, 38.4%)
CIE-LABlab(32.96, 19.17, -49.73)
CIE-LCHlch(32.96, 53.29, 291.08°)
OKLaboklab(42.9% -0.012 -0.1432)
OKLCHoklch(42.9% 0.144 265.2)
XYZxyz(9.2761, 7.5192, 32.8542)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28489D #9D7D28
analogous
#28829D #28489D #42289D
triadic
#28489D #9D2848 #489D28
tetradic
#28489D #9D2882 #9D7D28 #289D42
square
#28489D #9D2882 #9D7D28 #289D42
split-complementary
#28489D #9D4228 #829D28
monochromatic
#0F1B3B #1C326C #28489D #365FCC #6786D8

Accessibility & contrast

On white

8.39
#28489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#28489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28489D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28489D#FFFFFF#000000##FFFFFF
##28489D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #28489d;
/* rgb */ color: rgb(40, 72, 157);
/* oklch */ color: oklch(42.9% 0.144 265.2);
Tailwind
colors: {
  custom: {
    50: '#737abb',
    500: '#28489d',
    950: '#000000',
  },
}
SCSS
$custom: #28489d;
$custom-light: #737abb;
$custom-dark: #000000;
JSON
{
  "hex": "#28489d",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 223.59,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.14367,
    "h": 265.2
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#28489D
secondary
#BEA562
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28489D

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

Preview Lab → · Contrast checker → · Palette generator →

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