#42429C#42429C

#42429C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.143 H 278.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#42429C
RGBrgb(66, 66, 156)
HSLhsl(240, 41%, 44%)
HSVhsv(240, 58%, 61%)
CMYKcmyk(57.7%, 57.7%, 0%, 38.8%)
CIE-LABlab(32.82, 27.13, -49.28)
CIE-LCHlch(32.82, 56.25, 298.83°)
OKLaboklab(43.18% 0.0213 -0.1413)
OKLCHoklch(43.18% 0.143 278.6)
XYZxyz(10.1938, 7.4543, 32.3477)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42429C #9C9C42
analogous
#426F9C #42429C #6F429C
triadic
#42429C #9C4242 #429C42
tetradic
#42429C #9C426F #9C9C42 #429C6F
square
#42429C #9C426F #9C9C42 #429C6F
split-complementary
#42429C #9C6F42 #6F9C42
monochromatic
#1E1E46 #303071 #42429C #6060BC #8B8BCE

Accessibility & contrast

On white

8.43
#42429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#42429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42429C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42429C#FFFFFF#000000##FFFFFF
##42429C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#0F5768
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42429c;
/* rgb */ color: rgb(66, 66, 156);
/* oklch */ color: oklch(43.2% 0.143 278.6);
Tailwind
colors: {
  custom: {
    50: '#7f76ba',
    500: '#42429c',
    950: '#000000',
  },
}
SCSS
$custom: #42429c;
$custom-light: #7f76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42429c",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.1429,
    "h": 278.6
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#42429C
secondary
#B9B981
accent
#D057D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42429C

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

Preview Lab → · Contrast checker → · Palette generator →

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