#28479F#28479F

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

Color values

HEX#28479F
RGBrgb(40, 71, 159)
HSLhsl(224, 60%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(74.8%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.83, 20.61, -51.15)
CIE-LCHlch(32.83, 55.14, 291.95°)
OKLaboklab(42.85% -0.011 -0.1473)
OKLCHoklch(42.85% 0.148 265.7)
XYZxyz(9.3841, 7.4598, 33.7395)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28479F #9F8028
analogous
#28839F #28479F #45289F
triadic
#28479F #9F2847 #479F28
tetradic
#28479F #9F2883 #9F8028 #289F45
square
#28479F #9F2883 #9F8028 #289F45
split-complementary
#28479F #9F4528 #839F28
monochromatic
#0F1B3D #1C316E #28479F #375ECD #6886D9

Accessibility & contrast

On white

8.43
#28479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28479F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28479F#FFFFFF#000000##FFFFFF
##28479F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28479f;
/* rgb */ color: rgb(40, 71, 159);
/* oklch */ color: oklch(42.8% 0.148 265.7);
Tailwind
colors: {
  custom: {
    50: '#7379bc',
    500: '#28479f',
    950: '#000000',
  },
}
SCSS
$custom: #28479f;
$custom-light: #7379bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28479f",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 224.37,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.14776,
    "h": 265.7
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#28479F
secondary
#BFA764
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28479F

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

Preview Lab → · Contrast checker → · Palette generator →

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