#42425E#42425E

#42425E is a dark, muted blue. Relative luminance 0.059; OKLCH L 39.1% C 0.047 H 284.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#42425E
RGBrgb(66, 66, 94)
HSLhsl(240, 18%, 31%)
HSVhsv(240, 30%, 37%)
CMYKcmyk(29.8%, 29.8%, 0%, 63.1%)
CIE-LABlab(29.06, 7.20, -16.55)
CIE-LCHlch(29.06, 18.04, 293.50°)
OKLaboklab(39.12% 0.0114 -0.0458)
OKLCHoklch(39.12% 0.047 284)
XYZxyz(6.2148, 5.8627, 11.3917)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42425E #5E5E42
analogous
#42505E #42425E #50425E
triadic
#42425E #5E4242 #425E42
tetradic
#42425E #5E4250 #5E5E42 #425E50
square
#42425E #5E4250 #5E5E42 #425E50
split-complementary
#42425E #5E5042 #505E42
monochromatic
#101016 #29293A #42425E #5B5B82 #7979A1

Accessibility & contrast

On white

9.67
#42425E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#42425E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42425E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42425E#FFFFFF#000000##FFFFFF
##42425E1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#39445D
Tritanopia (blue-blind)
#3B474C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42425e;
/* rgb */ color: rgb(66, 66, 94);
/* oklch */ color: oklch(39.1% 0.047 284.0);
Tailwind
colors: {
  custom: {
    50: '#77768b',
    500: '#42425e',
    950: '#000000',
  },
}
SCSS
$custom: #42425e;
$custom-light: #77768b;
$custom-dark: #000000;
JSON
{
  "hex": "#42425e",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 94
  },
  "hsl": {
    "h": 240,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.04716,
    "h": 284
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#42425E
secondary
#8D8D6E
accent
#BA6EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #42425E

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

Preview Lab → · Contrast checker → · Palette generator →

#42425E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva