#28428F#28428F

#28428F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.131 H 266.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#28428F
RGBrgb(40, 66, 143)
HSLhsl(225, 56%, 36%)
HSVhsv(225, 72%, 56%)
CMYKcmyk(72%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.23, 17.82, -45.62)
CIE-LCHlch(30.23, 48.98, 291.34°)
OKLaboklab(40.5% -0.0081 -0.1312)
OKLCHoklch(40.5% 0.131 266.5)
XYZxyz(7.7795, 6.3299, 26.7931)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28428F #8F7528
analogous
#28758F #28428F #41288F
triadic
#28428F #8F2842 #428F28
tetradic
#28428F #8F2875 #8F7528 #288F41
square
#28428F #8F2875 #8F7528 #288F41
split-complementary
#28428F #8F4128 #758F28
monochromatic
#0D162F #1B2C5F #28428F #3558BF #5F7CD2

Accessibility & contrast

On white

9.27
#28428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#28428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28428F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28428F#FFFFFF#000000##FFFFFF
##28428F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28428f;
/* rgb */ color: rgb(40, 66, 143);
/* oklch */ color: oklch(40.5% 0.131 266.5);
Tailwind
colors: {
  custom: {
    50: '#7075b0',
    500: '#28428f',
    950: '#000000',
  },
}
SCSS
$custom: #28428f;
$custom-light: #7075b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28428f",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 224.854,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.13143,
    "h": 266.5
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#28428F
secondary
#B8A05B
accent
#B948E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #28428F

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

Preview Lab → · Contrast checker → · Palette generator →

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