#28479C#28479C

#28479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.144 H 265.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#28479C
RGBrgb(40, 71, 156)
HSLhsl(224, 59%, 38%)
HSVhsv(224, 74%, 61%)
CMYKcmyk(74.4%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.61, 19.46, -49.70)
CIE-LCHlch(32.61, 53.37, 291.38°)
OKLaboklab(42.6% -0.0112 -0.1431)
OKLCHoklch(42.6% 0.144 265.5)
XYZxyz(9.1270, 7.3569, 32.3851)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28479C #9C7D28
analogous
#28819C #28479C #43289C
triadic
#28479C #9C2847 #479C28
tetradic
#28479C #9C2881 #9C7D28 #289C43
square
#28479C #9C2881 #9C7D28 #289C43
split-complementary
#28479C #9C4328 #819C28
monochromatic
#0F1B3B #1C316B #28479C #365ECB #6785D8

Accessibility & contrast

On white

8.50
#28479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#28479C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28479C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28479C#FFFFFF#000000##FFFFFF
##28479C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #28479c;
/* rgb */ color: rgb(40, 71, 156);
/* oklch */ color: oklch(42.6% 0.144 265.5);
Tailwind
colors: {
  custom: {
    50: '#7279ba',
    500: '#28479c',
    950: '#000000',
  },
}
SCSS
$custom: #28479c;
$custom-light: #7279ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28479c",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 223.966,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42604,
    "c": 0.14354,
    "h": 265.5
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#28479C
secondary
#BEA562
accent
#B845E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #28479C

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

Preview Lab → · Contrast checker → · Palette generator →

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