#28428E#28428E

#28428E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.130 H 266.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#28428E
RGBrgb(40, 66, 142)
HSLhsl(225, 56%, 36%)
HSVhsv(225, 72%, 56%)
CMYKcmyk(71.8%, 53.5%, 0%, 44.3%)
CIE-LABlab(30.16, 17.44, -45.13)
CIE-LCHlch(30.16, 48.38, 291.13°)
OKLaboklab(40.42% -0.0082 -0.1297)
OKLCHoklch(40.42% 0.13 266.4)
XYZxyz(7.7041, 6.2998, 26.3959)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28428E #8E7428
analogous
#28758E #28428E #41288E
triadic
#28428E #8E2842 #428E28
tetradic
#28428E #8E2875 #8E7428 #288E41
square
#28428E #8E2875 #8E7428 #288E41
split-complementary
#28428E #8E4128 #758E28
monochromatic
#0D162F #1B2C5E #28428E #3558BE #5F7CD2

Accessibility & contrast

On white

9.29
#28428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#28428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28428E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28428E#FFFFFF#000000##FFFFFF
##28428E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28428e;
/* rgb */ color: rgb(40, 66, 142);
/* oklch */ color: oklch(40.4% 0.130 266.4);
Tailwind
colors: {
  custom: {
    50: '#7075b0',
    500: '#28428e',
    950: '#000000',
  },
}
SCSS
$custom: #28428e;
$custom-light: #7075b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28428e",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 224.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.12999,
    "h": 266.4
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#28428E
secondary
#B7A05B
accent
#B948DF
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28428E

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

Preview Lab → · Contrast checker → · Palette generator →

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