#28479A#28479A

#28479A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.141 H 265.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#28479A
RGBrgb(40, 71, 154)
HSLhsl(224, 59%, 38%)
HSVhsv(224, 74%, 60%)
CMYKcmyk(74%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.46, 18.68, -48.73)
CIE-LCHlch(32.46, 52.19, 290.98°)
OKLaboklab(42.45% -0.0114 -0.1402)
OKLCHoklch(42.45% 0.141 265.3)
XYZxyz(8.9590, 7.2897, 31.5005)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28479A #9A7B28
analogous
#28809A #28479A #42289A
triadic
#28479A #9A2847 #479A28
tetradic
#28479A #9A2880 #9A7B28 #289A42
square
#28479A #9A2880 #9A7B28 #289A42
split-complementary
#28479A #9A4228 #809A28
monochromatic
#0F1A39 #1B3169 #28479A #355DCA #6584D7

Accessibility & contrast

On white

8.54
#28479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#28479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28479A
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28479A#FFFFFF#000000##FFFFFF
##28479A1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #28479a;
/* rgb */ color: rgb(40, 71, 154);
/* oklch */ color: oklch(42.4% 0.141 265.3);
Tailwind
colors: {
  custom: {
    50: '#7279b8',
    500: '#28479a',
    950: '#000000',
  },
}
SCSS
$custom: #28479a;
$custom-light: #7279b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28479a",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 223.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.1407,
    "h": 265.3
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#28479A
secondary
#BDA461
accent
#B846E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #28479A

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

Preview Lab → · Contrast checker → · Palette generator →

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