#28479E#28479E

#28479E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.146 H 265.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#28479E
RGBrgb(40, 71, 158)
HSLhsl(224, 60%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(74.7%, 55.1%, 0%, 38%)
CIE-LABlab(32.76, 20.23, -50.67)
CIE-LCHlch(32.76, 54.55, 291.76°)
OKLaboklab(42.77% -0.0111 -0.1459)
OKLCHoklch(42.77% 0.146 265.7)
XYZxyz(9.2977, 7.4252, 33.2843)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28479E #9E7F28
analogous
#28829E #28479E #44289E
triadic
#28479E #9E2847 #479E28
tetradic
#28479E #9E2882 #9E7F28 #289E44
square
#28479E #9E2882 #9E7F28 #289E44
split-complementary
#28479E #9E4428 #829E28
monochromatic
#0F1B3C #1C316D #28479E #375ECC #6885D9

Accessibility & contrast

On white

8.45
#28479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#28479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28479E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28479E#FFFFFF#000000##FFFFFF
##28479E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28479e;
/* rgb */ color: rgb(40, 71, 158);
/* oklch */ color: oklch(42.8% 0.146 265.7);
Tailwind
colors: {
  custom: {
    50: '#7379bb',
    500: '#28479e',
    950: '#000000',
  },
}
SCSS
$custom: #28479e;
$custom-light: #7379bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28479e",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 224.237,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.14636,
    "h": 265.7
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#28479E
secondary
#BFA763
accent
#B945E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28479E

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

Preview Lab → · Contrast checker → · Palette generator →

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