#42429D#42429D

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

Color values

HEX#42429D
RGBrgb(66, 66, 157)
HSLhsl(240, 41%, 44%)
HSVhsv(240, 58%, 62%)
CMYKcmyk(58%, 58%, 0%, 38.4%)
CIE-LABlab(32.89, 27.47, -49.77)
CIE-LCHlch(32.89, 56.84, 298.90°)
OKLaboklab(43.26% 0.0213 -0.1427)
OKLCHoklch(43.26% 0.144 278.5)
XYZxyz(10.2789, 7.4883, 32.7955)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42429D #9D9D42
analogous
#426F9D #42429D #6F429D
triadic
#42429D #9D4242 #429D42
tetradic
#42429D #9D426F #9D9D42 #429D6F
square
#42429D #9D426F #9D9D42 #429D6F
split-complementary
#42429D #9D6F42 #6F9D42
monochromatic
#1E1E47 #303072 #42429D #6060BC #8B8BCE

Accessibility & contrast

On white

8.41
#42429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#42429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42429D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42429D#FFFFFF#000000##FFFFFF
##42429D1.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)
#0051A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#0D5769
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42429d;
/* rgb */ color: rgb(66, 66, 157);
/* oklch */ color: oklch(43.3% 0.144 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f76bb',
    500: '#42429d',
    950: '#000000',
  },
}
SCSS
$custom: #42429d;
$custom-light: #7f76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42429d",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.14431,
    "h": 278.5
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#42429D
secondary
#B9B982
accent
#D157D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42429D

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

Preview Lab → · Contrast checker → · Palette generator →

#42429D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva