#28479B#28479B

#28479B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.142 H 265.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#28479B
RGBrgb(40, 71, 155)
HSLhsl(224, 59%, 38%)
HSVhsv(224, 74%, 61%)
CMYKcmyk(74.2%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.53, 19.07, -49.21)
CIE-LCHlch(32.53, 52.78, 291.18°)
OKLaboklab(42.53% -0.0113 -0.1417)
OKLCHoklch(42.53% 0.142 265.4)
XYZxyz(9.0426, 7.3232, 31.9409)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28479B #9B7C28
analogous
#28809B #28479B #42289B
triadic
#28479B #9B2847 #479B28
tetradic
#28479B #9B2880 #9B7C28 #289B42
square
#28479B #9B2880 #9B7C28 #289B42
split-complementary
#28479B #9B4228 #809B28
monochromatic
#0F1A3A #1B316A #28479B #355ECB #6685D7

Accessibility & contrast

On white

8.52
#28479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28479B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28479B#FFFFFF#000000##FFFFFF
##28479B1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28479b;
/* rgb */ color: rgb(40, 71, 155);
/* oklch */ color: oklch(42.5% 0.142 265.4);
Tailwind
colors: {
  custom: {
    50: '#7279b9',
    500: '#28479b',
    950: '#000000',
  },
}
SCSS
$custom: #28479b;
$custom-light: #7279b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28479b",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 223.826,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.14212,
    "h": 265.4
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28479B

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

Preview Lab → · Contrast checker → · Palette generator →

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