#42416C#42416C

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

Color values

HEX#42416C
RGBrgb(66, 65, 108)
HSLhsl(241, 25%, 34%)
HSVhsv(241, 40%, 42%)
CMYKcmyk(38.9%, 39.8%, 0%, 57.6%)
CIE-LABlab(29.47, 12.03, -24.87)
CIE-LCHlch(29.47, 27.63, 295.81°)
OKLaboklab(39.66% 0.017 -0.0698)
OKLCHoklch(39.66% 0.072 283.7)
XYZxyz(6.8431, 6.0213, 14.9861)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42416C #6B6C41
analogous
#41566C #42416C #58416C
triadic
#42416C #6C4241 #416C42
tetradic
#42416C #6C4156 #6B6C41 #416C58
square
#42416C #6C4156 #6B6C41 #416C58
split-complementary
#42416C #6C5841 #566C41
monochromatic
#131320 #2B2A46 #42416C #595892 #7A79AE

Accessibility & contrast

On white

9.53
#42416C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#42416C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42416C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42416C#FFFFFF#000000##FFFFFF
##42416C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#32446B
Tritanopia (blue-blind)
#364951
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42416c;
/* rgb */ color: rgb(66, 65, 108);
/* oklch */ color: oklch(39.7% 0.072 283.7);
Tailwind
colors: {
  custom: {
    50: '#787596',
    500: '#42416c',
    950: '#000000',
  },
}
SCSS
$custom: #42416c;
$custom-light: #787596;
$custom-dark: #000000;
JSON
{
  "hex": "#42416c",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 241.395,
    "s": 24.855,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.07179,
    "h": 283.7
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#42416C
secondary
#999A6F
accent
#C167BF
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #42416C

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

Preview Lab → · Contrast checker → · Palette generator →

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