#42426D#42426D

#42426D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.072 H 282.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#42426D
RGBrgb(66, 66, 109)
HSLhsl(240, 25%, 34%)
HSVhsv(240, 39%, 43%)
CMYKcmyk(39.4%, 39.4%, 0%, 57.3%)
CIE-LABlab(29.81, 11.68, -24.97)
CIE-LCHlch(29.81, 27.56, 295.06°)
OKLaboklab(39.94% 0.0157 -0.07)
OKLCHoklch(39.94% 0.072 282.7)
XYZxyz(6.9545, 6.1586, 15.2873)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42426D #6D6D42
analogous
#42586D #42426D #58426D
triadic
#42426D #6D4242 #426D42
tetradic
#42426D #6D4258 #6D6D42 #426D58
square
#42426D #6D4258 #6D6D42 #426D58
split-complementary
#42426D #6D5842 #586D42
monochromatic
#141421 #2B2B47 #42426D #595993 #7B7BAF

Accessibility & contrast

On white

9.41
#42426D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#42426D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42426D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42426D#FFFFFF#000000##FFFFFF
##42426D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#364A52
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42426d;
/* rgb */ color: rgb(66, 66, 109);
/* oklch */ color: oklch(39.9% 0.072 282.7);
Tailwind
colors: {
  custom: {
    50: '#787697',
    500: '#42426d',
    950: '#000000',
  },
}
SCSS
$custom: #42426d;
$custom-light: #787697;
$custom-dark: #000000;
JSON
{
  "hex": "#42426d",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 24.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.07177,
    "h": 282.7
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#42426D
secondary
#9A9A70
accent
#C167C1
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #42426D

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

Preview Lab → · Contrast checker → · Palette generator →

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