#42426B#42426B

#42426B is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.069 H 282.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#42426B
RGBrgb(66, 66, 107)
HSLhsl(240, 24%, 34%)
HSVhsv(240, 38%, 42%)
CMYKcmyk(38.3%, 38.3%, 0%, 58%)
CIE-LABlab(29.70, 11.06, -23.86)
CIE-LCHlch(29.70, 26.30, 294.86°)
OKLaboklab(39.82% 0.0152 -0.0668)
OKLCHoklch(39.82% 0.069 282.8)
XYZxyz(6.8481, 6.1160, 14.7268)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42426B #6B6B42
analogous
#42576B #42426B #57426B
triadic
#42426B #6B4242 #426B42
tetradic
#42426B #6B4257 #6B6B42 #426B57
square
#42426B #6B4257 #6B6B42 #426B57
split-complementary
#42426B #6B5742 #576B42
monochromatic
#13131F #2B2B45 #42426B #595991 #7A7AAD

Accessibility & contrast

On white

9.45
#42426B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#42426B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42426B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42426B#FFFFFF#000000##FFFFFF
##42426B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#33456A
Tritanopia (blue-blind)
#374A51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42426b;
/* rgb */ color: rgb(66, 66, 107);
/* oklch */ color: oklch(39.8% 0.069 282.8);
Tailwind
colors: {
  custom: {
    50: '#787695',
    500: '#42426b',
    950: '#000000',
  },
}
SCSS
$custom: #42426b;
$custom-light: #787695;
$custom-dark: #000000;
JSON
{
  "hex": "#42426b",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 107
  },
  "hsl": {
    "h": 240,
    "s": 23.699,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.06853,
    "h": 282.8
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#42426B
secondary
#999970
accent
#C068C0
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #42426B

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

Preview Lab → · Contrast checker → · Palette generator →

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