#28428C#28428C

#28428C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.127 H 266.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#28428C
RGBrgb(40, 66, 140)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 71%, 55%)
CMYKcmyk(71.4%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.01, 16.66, -44.13)
CIE-LCHlch(30.01, 47.17, 290.69°)
OKLaboklab(40.27% -0.0084 -0.1268)
OKLCHoklch(40.27% 0.127 266.2)
XYZxyz(7.5553, 6.2402, 25.6122)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28428C #8C7228
analogous
#28748C #28428C #40288C
triadic
#28428C #8C2842 #428C28
tetradic
#28428C #8C2874 #8C7228 #288C40
square
#28428C #8C2874 #8C7228 #288C40
split-complementary
#28428C #8C4028 #748C28
monochromatic
#0D152D #1A2C5C #28428C #3658BC #5E7CD1

Accessibility & contrast

On white

9.34
#28428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#28428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28428C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28428C#FFFFFF#000000##FFFFFF
##28428C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28428c;
/* rgb */ color: rgb(40, 66, 140);
/* oklch */ color: oklch(40.3% 0.127 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f75ae',
    500: '#28428c',
    950: '#000000',
  },
}
SCSS
$custom: #28428c;
$custom-light: #6f75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#28428c",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 224.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.12708,
    "h": 266.2
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#28428C
secondary
#B69E5A
accent
#B849DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28428C

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

Preview Lab → · Contrast checker → · Palette generator →

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