#42429F#42429F

#42429F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.147 H 278.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#42429F
RGBrgb(66, 66, 159)
HSLhsl(240, 41%, 44%)
HSVhsv(240, 58%, 62%)
CMYKcmyk(58.5%, 58.5%, 0%, 37.6%)
CIE-LABlab(33.04, 28.15, -50.73)
CIE-LCHlch(33.04, 58.02, 299.02°)
OKLaboklab(43.41% 0.0214 -0.1456)
OKLCHoklch(43.41% 0.147 278.3)
XYZxyz(10.4510, 7.5572, 33.7021)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42429F #9F9F42
analogous
#42719F #42429F #71429F
triadic
#42429F #9F4242 #429F42
tetradic
#42429F #9F4271 #9F9F42 #429F71
square
#42429F #9F4271 #9F9F42 #429F71
split-complementary
#42429F #9F7142 #719F42
monochromatic
#1E1E49 #303074 #42429F #6161BD #8C8CCF

Accessibility & contrast

On white

8.36
#42429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#42429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42429F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42429F#FFFFFF#000000##FFFFFF
##42429F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#07586A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42429f;
/* rgb */ color: rgb(66, 66, 159);
/* oklch */ color: oklch(43.4% 0.147 278.3);
Tailwind
colors: {
  custom: {
    50: '#7f76bc',
    500: '#42429f',
    950: '#000000',
  },
}
SCSS
$custom: #42429f;
$custom-light: #7f76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42429f",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.14713,
    "h": 278.3
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42429F

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

Preview Lab → · Contrast checker → · Palette generator →

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