#42405A#42405A

#42405A is a dark, muted blue. Relative luminance 0.056; OKLCH L 38.5% C 0.044 H 287.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#42405A
RGBrgb(66, 64, 90)
HSLhsl(245, 17%, 30%)
HSVhsv(245, 29%, 35%)
CMYKcmyk(26.7%, 28.9%, 0%, 64.7%)
CIE-LABlab(28.28, 7.38, -15.17)
CIE-LCHlch(28.28, 16.87, 295.95°)
OKLaboklab(38.45% 0.0133 -0.0418)
OKLCHoklch(38.45% 0.044 287.7)
XYZxyz(5.9252, 5.5631, 10.4325)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42405A #585A40
analogous
#404B5A #42405A #4F405A
triadic
#42405A #5A4240 #405A42
tetradic
#42405A #5A404B #585A40 #405A4F
square
#42405A #5A404B #585A40 #405A4F
split-complementary
#42405A #5A4F40 #4B5A40
monochromatic
#0E0D12 #282736 #42405A #5C597E #7A769E

Accessibility & contrast

On white

9.94
#42405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#42405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42405A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42405A#FFFFFF#000000##FFFFFF
##42405A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#394259
Tritanopia (blue-blind)
#3D4449
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42405a;
/* rgb */ color: rgb(66, 64, 90);
/* oklch */ color: oklch(38.5% 0.044 287.7);
Tailwind
colors: {
  custom: {
    50: '#777488',
    500: '#42405a',
    950: '#000000',
  },
}
SCSS
$custom: #42405a;
$custom-light: #777488;
$custom-dark: #000000;
JSON
{
  "hex": "#42405a",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 244.615,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38454,
    "c": 0.0439,
    "h": 287.7
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#42405A
secondary
#87896C
accent
#BA6EB4
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080B
muted
#7B7B7C

Preview Lab

Preview with #42405A

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

Preview Lab → · Contrast checker → · Palette generator →

#42405A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva