#42416D#42416D

#42416D is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.073 H 283.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#42416D
RGBrgb(66, 65, 109)
HSLhsl(241, 25%, 34%)
HSVhsv(241, 40%, 43%)
CMYKcmyk(39.4%, 40.4%, 0%, 57.3%)
CIE-LABlab(29.52, 12.34, -25.42)
CIE-LCHlch(29.52, 28.26, 295.89°)
OKLaboklab(39.72% 0.0172 -0.0713)
OKLCHoklch(39.72% 0.073 283.6)
XYZxyz(6.8966, 6.0427, 15.2680)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42416D #6C6D41
analogous
#41566D #42416D #58416D
triadic
#42416D #6D4241 #416D42
tetradic
#42416D #6D4156 #6C6D41 #416D58
square
#42416D #6D4156 #6C6D41 #416D58
split-complementary
#42416D #6D5841 #566D41
monochromatic
#141320 #2B2A47 #42416D #595893 #7A79AF

Accessibility & contrast

On white

9.51
#42416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#42416D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42416D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42416D#FFFFFF#000000##FFFFFF
##42416D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#31446C
Tritanopia (blue-blind)
#364951
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42416d;
/* rgb */ color: rgb(66, 65, 109);
/* oklch */ color: oklch(39.7% 0.073 283.6);
Tailwind
colors: {
  custom: {
    50: '#787597',
    500: '#42416d',
    950: '#000000',
  },
}
SCSS
$custom: #42416d;
$custom-light: #787597;
$custom-dark: #000000;
JSON
{
  "hex": "#42416d",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 241.364,
    "s": 25.287,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.0734,
    "h": 283.6
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#42416D
secondary
#9A9B6F
accent
#C266C0
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #42416D

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

Preview Lab → · Contrast checker → · Palette generator →

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