#42429B#42429B

#42429B is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.141 H 278.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#42429B
RGBrgb(66, 66, 155)
HSLhsl(240, 40%, 43%)
HSVhsv(240, 57%, 61%)
CMYKcmyk(57.4%, 57.4%, 0%, 39.2%)
CIE-LABlab(32.75, 26.79, -48.79)
CIE-LCHlch(32.75, 55.66, 298.77°)
OKLaboklab(43.1% 0.0213 -0.1399)
OKLCHoklch(43.1% 0.141 278.7)
XYZxyz(10.1095, 7.4206, 31.9036)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42429B #9B9B42
analogous
#426E9B #42429B #6E429B
triadic
#42429B #9B4242 #429B42
tetradic
#42429B #9B426E #9B9B42 #429B6E
square
#42429B #9B426E #9B9B42 #429B6E
split-complementary
#42429B #9B6E42 #6E9B42
monochromatic
#1D1D45 #303070 #42429B #5F5FBB #8A8ACD

Accessibility & contrast

On white

8.45
#42429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42429B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42429B#FFFFFF#000000##FFFFFF
##42429B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#115768
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42429b;
/* rgb */ color: rgb(66, 66, 155);
/* oklch */ color: oklch(43.1% 0.141 278.7);
Tailwind
colors: {
  custom: {
    50: '#7f76b9',
    500: '#42429b',
    950: '#000000',
  },
}
SCSS
$custom: #42429b;
$custom-light: #7f76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42429b",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.14149,
    "h": 278.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#42429B
secondary
#B8B881
accent
#D058D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #42429B

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

Preview Lab → · Contrast checker → · Palette generator →

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