#42416F#42416F

#42416F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.077 H 283.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#42416F
RGBrgb(66, 65, 111)
HSLhsl(241, 26%, 35%)
HSVhsv(241, 41%, 44%)
CMYKcmyk(40.5%, 41.4%, 0%, 56.5%)
CIE-LABlab(29.63, 12.96, -26.52)
CIE-LCHlch(29.63, 29.52, 296.05°)
OKLaboklab(39.84% 0.0177 -0.0745)
OKLCHoklch(39.84% 0.077 283.3)
XYZxyz(7.0055, 6.0863, 15.8415)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42416F #6E6F41
analogous
#41576F #42416F #59416F
triadic
#42416F #6F4241 #416F42
tetradic
#42416F #6F4157 #6E6F41 #416F59
square
#42416F #6F4157 #6E6F41 #416F59
split-complementary
#42416F #6F5941 #576F41
monochromatic
#141422 #2B2A48 #42416F #595896 #7B7AB1

Accessibility & contrast

On white

9.47
#42416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#42416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42416F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42416F#FFFFFF#000000##FFFFFF
##42416F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324771
Deuteranopia (green-blind)
#30446E
Tritanopia (blue-blind)
#354A52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42416f;
/* rgb */ color: rgb(66, 65, 111);
/* oklch */ color: oklch(39.8% 0.077 283.3);
Tailwind
colors: {
  custom: {
    50: '#787598',
    500: '#42416f',
    950: '#000000',
  },
}
SCSS
$custom: #42416f;
$custom-light: #787598;
$custom-dark: #000000;
JSON
{
  "hex": "#42416f",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 241.304,
    "s": 26.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.07661,
    "h": 283.3
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#42416F
secondary
#9B9C70
accent
#C365C0
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #42416F

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

Preview Lab → · Contrast checker → · Palette generator →

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