#28428B#28428B

#28428B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.126 H 266.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#28428B
RGBrgb(40, 66, 139)
HSLhsl(224, 55%, 35%)
HSVhsv(224, 71%, 55%)
CMYKcmyk(71.2%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.94, 16.28, -43.63)
CIE-LCHlch(29.94, 46.57, 290.46°)
OKLaboklab(40.19% -0.0085 -0.1253)
OKLCHoklch(40.19% 0.126 266.1)
XYZxyz(7.4819, 6.2109, 25.2256)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28428B #8B7128
analogous
#28748B #28428B #3F288B
triadic
#28428B #8B2842 #428B28
tetradic
#28428B #8B2874 #8B7128 #288B3F
square
#28428B #8B2874 #8B7128 #288B3F
split-complementary
#28428B #8B3F28 #748B28
monochromatic
#0D152C #1A2B5B #28428B #3659BB #5D7BD0

Accessibility & contrast

On white

9.36
#28428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#28428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28428B
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28428B#FFFFFF#000000##FFFFFF
##28428B1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #28428b;
/* rgb */ color: rgb(40, 66, 139);
/* oklch */ color: oklch(40.2% 0.126 266.1);
Tailwind
colors: {
  custom: {
    50: '#6f75ad',
    500: '#28428b',
    950: '#000000',
  },
}
SCSS
$custom: #28428b;
$custom-light: #6f75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28428b",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 224.242,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.12562,
    "h": 266.1
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#28428B
secondary
#B69D59
accent
#B749DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28428B

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

Preview Lab → · Contrast checker → · Palette generator →

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