#40429F#40429F

#40429F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.148 H 277.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#40429F
RGBrgb(64, 66, 159)
HSLhsl(239, 43%, 44%)
HSVhsv(239, 60%, 62%)
CMYKcmyk(59.7%, 58.5%, 0%, 37.6%)
CIE-LABlab(32.89, 27.77, -50.98)
CIE-LCHlch(32.89, 58.05, 298.58°)
OKLaboklab(43.27% 0.0189 -0.1463)
OKLCHoklch(43.27% 0.148 277.4)
XYZxyz(10.3186, 7.4889, 33.6959)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40429F #9F9D40
analogous
#40719F #40429F #6D409F
triadic
#40429F #9F4042 #429F40
tetradic
#40429F #9F4071 #9F9D40 #409F6D
square
#40429F #9F4071 #9F9D40 #409F6D
split-complementary
#40429F #9F6D40 #719F40
monochromatic
#1D1E48 #2E3073 #40429F #5E60BE #8A8BD0

Accessibility & contrast

On white

8.41
#40429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#40429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40429F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40429F#FFFFFF#000000##FFFFFF
##40429F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #40429f;
/* rgb */ color: rgb(64, 66, 159);
/* oklch */ color: oklch(43.3% 0.148 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e76bc',
    500: '#40429f',
    950: '#000000',
  },
}
SCSS
$custom: #40429f;
$custom-light: #7e76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#40429f",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 238.737,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.14756,
    "h": 277.4
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#40429F
secondary
#BBB980
accent
#D055D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #40429F

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

Preview Lab → · Contrast checker → · Palette generator →

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