#42406F#42406F

#42406F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.078 H 284.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#42406F
RGBrgb(66, 64, 111)
HSLhsl(243, 27%, 34%)
HSVhsv(243, 42%, 44%)
CMYKcmyk(40.5%, 42.3%, 0%, 56.5%)
CIE-LABlab(29.34, 13.63, -26.97)
CIE-LCHlch(29.34, 30.22, 296.80°)
OKLaboklab(39.62% 0.0191 -0.0758)
OKLCHoklch(39.62% 0.078 284.2)
XYZxyz(6.9486, 5.9725, 15.8225)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42406F #6D6F40
analogous
#40566F #42406F #5A406F
triadic
#42406F #6F4240 #406F42
tetradic
#42406F #6F4056 #6D6F40 #406F5A
square
#42406F #6F4056 #6D6F40 #406F5A
split-complementary
#42406F #6F5A40 #566F40
monochromatic
#141321 #2B2A48 #42406F #595696 #7B78B1

Accessibility & contrast

On white

9.57
#42406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42406F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42406F#FFFFFF#000000##FFFFFF
##42406F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304771
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#354952
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42406f;
/* rgb */ color: rgb(66, 64, 111);
/* oklch */ color: oklch(39.6% 0.078 284.2);
Tailwind
colors: {
  custom: {
    50: '#787498',
    500: '#42406f',
    950: '#000000',
  },
}
SCSS
$custom: #42406f;
$custom-light: #787498;
$custom-dark: #000000;
JSON
{
  "hex": "#42406f",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 242.553,
    "s": 26.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.07823,
    "h": 284.2
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#42406F
secondary
#9A9C6F
accent
#C365BF
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #42406F

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

Preview Lab → · Contrast checker → · Palette generator →

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