#28429B#28429B

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

Color values

HEX#28429B
RGBrgb(40, 66, 155)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 74%, 61%)
CMYKcmyk(74.2%, 57.4%, 0%, 39.2%)
CIE-LABlab(31.14, 22.45, -51.46)
CIE-LCHlch(31.14, 56.15, 293.57°)
OKLaboklab(41.48% -0.0072 -0.1484)
OKLCHoklch(41.48% 0.149 267.2)
XYZxyz(8.7376, 6.7132, 31.8393)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28429B #9B8128
analogous
#287B9B #28429B #48289B
triadic
#28429B #9B2842 #429B28
tetradic
#28429B #9B287B #9B8128 #289B48
square
#28429B #9B287B #9B8128 #289B48
split-complementary
#28429B #9B4828 #7B9B28
monochromatic
#0F193A #1B2D6A #28429B #3557CB #6680D7

Accessibility & contrast

On white

8.96
#28429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28429B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28429B#FFFFFF#000000##FFFFFF
##28429B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28429b;
/* rgb */ color: rgb(40, 66, 155);
/* oklch */ color: oklch(41.5% 0.149 267.2);
Tailwind
colors: {
  custom: {
    50: '#7376b9',
    500: '#28429b',
    950: '#000000',
  },
}
SCSS
$custom: #28429b;
$custom-light: #7376b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28429b",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 226.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.14855,
    "h": 267.2
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#28429B
secondary
#BDA961
accent
#BF46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28429B

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

Preview Lab → · Contrast checker → · Palette generator →

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