#28429A#28429A

#28429A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.147 H 267.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#28429A
RGBrgb(40, 66, 154)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 74%, 60%)
CMYKcmyk(74%, 57.1%, 0%, 39.6%)
CIE-LABlab(31.07, 22.07, -50.99)
CIE-LCHlch(31.07, 55.56, 293.40°)
OKLaboklab(41.4% -0.0073 -0.147)
OKLCHoklch(41.4% 0.147 267.2)
XYZxyz(8.6540, 6.6797, 31.3988)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28429A #9A8028
analogous
#287B9A #28429A #47289A
triadic
#28429A #9A2842 #429A28
tetradic
#28429A #9A287B #9A8028 #289A47
square
#28429A #9A287B #9A8028 #289A47
split-complementary
#28429A #9A4728 #7B9A28
monochromatic
#0F1839 #1B2D69 #28429A #3557CA #657FD7

Accessibility & contrast

On white

8.99
#28429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28429A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28429A#FFFFFF#000000##FFFFFF
##28429A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28429a;
/* rgb */ color: rgb(40, 66, 154);
/* oklch */ color: oklch(41.4% 0.147 267.2);
Tailwind
colors: {
  custom: {
    50: '#7276b8',
    500: '#28429a',
    950: '#000000',
  },
}
SCSS
$custom: #28429a;
$custom-light: #7276b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28429a",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 226.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.14714,
    "h": 267.2
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#28429A
secondary
#BDA861
accent
#BE46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28429A

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

Preview Lab → · Contrast checker → · Palette generator →

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