#28429F#28429F

#28429F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.154 H 267.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#28429F
RGBrgb(40, 66, 159)
HSLhsl(227, 60%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.8%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.46, 23.98, -53.37)
CIE-LCHlch(31.46, 58.51, 294.20°)
OKLaboklab(41.82% -0.0071 -0.154)
OKLCHoklch(41.82% 0.154 267.4)
XYZxyz(9.0791, 6.8498, 33.6378)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28429F #9F8528
analogous
#287E9F #28429F #4A289F
triadic
#28429F #9F2842 #429F28
tetradic
#28429F #9F287E #9F8528 #289F4A
square
#28429F #9F287E #9F8528 #289F4A
split-complementary
#28429F #9F4A28 #7E9F28
monochromatic
#0F193D #1C2E6E #28429F #3758CD #6881D9

Accessibility & contrast

On white

8.86
#28429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#28429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28429F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28429F#FFFFFF#000000##FFFFFF
##28429F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28429f;
/* rgb */ color: rgb(40, 66, 159);
/* oklch */ color: oklch(41.8% 0.154 267.4);
Tailwind
colors: {
  custom: {
    50: '#7476bc',
    500: '#28429f',
    950: '#000000',
  },
}
SCSS
$custom: #28429f;
$custom-light: #7476bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28429f",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 226.891,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.15413,
    "h": 267.4
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#28429F
secondary
#BFAB64
accent
#C045E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28429F

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

Preview Lab → · Contrast checker → · Palette generator →

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