#28429E#28429E

#28429E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.153 H 267.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#28429E
RGBrgb(40, 66, 158)
HSLhsl(227, 60%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.7%, 58.2%, 0%, 38%)
CIE-LABlab(31.38, 23.60, -52.90)
CIE-LCHlch(31.38, 57.92, 294.04°)
OKLaboklab(41.73% -0.0071 -0.1526)
OKLCHoklch(41.73% 0.153 267.3)
XYZxyz(8.9927, 6.8152, 33.1827)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28429E #9E8428
analogous
#287D9E #28429E #49289E
triadic
#28429E #9E2842 #429E28
tetradic
#28429E #9E287D #9E8428 #289E49
square
#28429E #9E287D #9E8428 #289E49
split-complementary
#28429E #9E4928 #7D9E28
monochromatic
#0F193C #1C2E6D #28429E #3758CC #6881D9

Accessibility & contrast

On white

8.89
#28429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#28429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28429E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28429E#FFFFFF#000000##FFFFFF
##28429E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #28429e;
/* rgb */ color: rgb(40, 66, 158);
/* oklch */ color: oklch(41.7% 0.153 267.3);
Tailwind
colors: {
  custom: {
    50: '#7376bb',
    500: '#28429e',
    950: '#000000',
  },
}
SCSS
$custom: #28429e;
$custom-light: #7376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28429e",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 226.78,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.15275,
    "h": 267.3
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28429E

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

Preview Lab → · Contrast checker → · Palette generator →

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