#28439B#28439B

#28439B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.147 H 266.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#28439B
RGBrgb(40, 67, 155)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 74%, 61%)
CMYKcmyk(74.2%, 56.8%, 0%, 39.2%)
CIE-LABlab(31.42, 21.77, -51.02)
CIE-LCHlch(31.42, 55.47, 293.11°)
OKLaboklab(41.69% -0.008 -0.147)
OKLCHoklch(41.69% 0.147 266.9)
XYZxyz(8.7966, 6.8311, 31.8589)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28439B #9B8028
analogous
#287C9B #28439B #46289B
triadic
#28439B #9B2843 #439B28
tetradic
#28439B #9B287C #9B8028 #289B46
square
#28439B #9B287C #9B8028 #289B46
split-complementary
#28439B #9B4628 #7C9B28
monochromatic
#0F193A #1B2E6A #28439B #3558CB #6681D7

Accessibility & contrast

On white

8.87
#28439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#28439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28439B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28439B#FFFFFF#000000##FFFFFF
##28439B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28439b;
/* rgb */ color: rgb(40, 67, 155);
/* oklch */ color: oklch(41.7% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#7276b9',
    500: '#28439b',
    950: '#000000',
  },
}
SCSS
$custom: #28439b;
$custom-light: #7276b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28439b",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 225.913,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.14726,
    "h": 266.9
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#28439B
secondary
#BDA861
accent
#BD46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28439B

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

Preview Lab → · Contrast checker → · Palette generator →

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