#28439A#28439A

#28439A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.146 H 266.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#28439A
RGBrgb(40, 67, 154)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 74%, 60%)
CMYKcmyk(74%, 56.5%, 0%, 39.6%)
CIE-LABlab(31.34, 21.39, -50.54)
CIE-LCHlch(31.34, 54.88, 292.94°)
OKLaboklab(41.6% -0.0081 -0.1456)
OKLCHoklch(41.6% 0.146 266.8)
XYZxyz(8.7129, 6.7976, 31.4185)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28439A #9A7F28
analogous
#287C9A #28439A #46289A
triadic
#28439A #9A2843 #439A28
tetradic
#28439A #9A287C #9A7F28 #289A46
square
#28439A #9A287C #9A7F28 #289A46
split-complementary
#28439A #9A4628 #7C9A28
monochromatic
#0F1939 #1B2E69 #28439A #3558CA #6580D7

Accessibility & contrast

On white

8.90
#28439A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#28439A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28439A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28439A#FFFFFF#000000##FFFFFF
##28439A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28439a;
/* rgb */ color: rgb(40, 67, 154);
/* oklch */ color: oklch(41.6% 0.146 266.8);
Tailwind
colors: {
  custom: {
    50: '#7276b8',
    500: '#28439a',
    950: '#000000',
  },
}
SCSS
$custom: #28439a;
$custom-light: #7276b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28439a",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 154
  },
  "hsl": {
    "h": 225.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.14586,
    "h": 266.8
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28439A

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

Preview Lab → · Contrast checker → · Palette generator →

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