#28406A#28406A

#28406A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.4% C 0.078 H 260.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#28406A
RGBrgb(40, 64, 106)
HSLhsl(218, 45%, 29%)
HSVhsv(218, 62%, 42%)
CMYKcmyk(62.3%, 39.6%, 0%, 58.4%)
CIE-LABlab(27.18, 5.01, -27.33)
CIE-LCHlch(27.18, 27.78, 280.38°)
OKLaboklab(37.38% -0.0124 -0.0775)
OKLCHoklch(37.38% 0.078 260.9)
XYZxyz(5.3091, 5.1581, 14.3487)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28406A #6A5228
analogous
#28616A #28406A #31286A
triadic
#28406A #6A2840 #406A28
tetradic
#28406A #6A2861 #6A5228 #286A31
square
#28406A #6A2861 #6A5228 #286A31
split-complementary
#28406A #6A3128 #616A28
monochromatic
#080D16 #17253E #28406A #395B96 #5077BD

Accessibility & contrast

On white

10.34
#28406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#28406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28406A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28406A#FFFFFF#000000##FFFFFF
##28406A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446C
Deuteranopia (green-blind)
#263D69
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28406a;
/* rgb */ color: rgb(40, 64, 106);
/* oklch */ color: oklch(37.4% 0.078 260.9);
Tailwind
colors: {
  custom: {
    50: '#687495',
    500: '#28406a',
    950: '#000000',
  },
}
SCSS
$custom: #28406a;
$custom-light: #687495;
$custom-dark: #000000;
JSON
{
  "hex": "#28406a",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 218.182,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37375,
    "c": 0.07845,
    "h": 260.9
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#28406A
secondary
#9D8151
accent
#A653D5
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #28406A

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

Preview Lab → · Contrast checker → · Palette generator →

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