#42406D#42406D

#42406D is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.075 H 284.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#42406D
RGBrgb(66, 64, 109)
HSLhsl(243, 26%, 34%)
HSVhsv(243, 41%, 43%)
CMYKcmyk(39.4%, 41.3%, 0%, 57.3%)
CIE-LABlab(29.23, 13.00, -25.88)
CIE-LCHlch(29.23, 28.96, 296.68°)
OKLaboklab(39.5% 0.0187 -0.0727)
OKLCHoklch(39.5% 0.075 284.4)
XYZxyz(6.8397, 5.9289, 15.2491)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42406D #6B6D40
analogous
#40556D #42406D #59406D
triadic
#42406D #6D4240 #406D42
tetradic
#42406D #6D4055 #6B6D40 #406D59
square
#42406D #6D4055 #6B6D40 #406D59
split-complementary
#42406D #6D5940 #556D40
monochromatic
#131320 #2B2946 #42406D #595794 #7A78B0

Accessibility & contrast

On white

9.61
#42406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#42406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42406D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42406D#FFFFFF#000000##FFFFFF
##42406D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#30446C
Tritanopia (blue-blind)
#364951
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42406d;
/* rgb */ color: rgb(66, 64, 109);
/* oklch */ color: oklch(39.5% 0.075 284.4);
Tailwind
colors: {
  custom: {
    50: '#787497',
    500: '#42406d',
    950: '#000000',
  },
}
SCSS
$custom: #42406d;
$custom-light: #787497;
$custom-dark: #000000;
JSON
{
  "hex": "#42406d",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 242.667,
    "s": 26.012,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.07503,
    "h": 284.4
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#42406D
secondary
#999B6E
accent
#C265BE
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080D
muted
#7B7B7E

Preview Lab

Preview with #42406D

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

Preview Lab → · Contrast checker → · Palette generator →

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