#42409F#42409F

#42409F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.150 H 279.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#42409F
RGBrgb(66, 64, 159)
HSLhsl(241, 43%, 44%)
HSVhsv(241, 60%, 62%)
CMYKcmyk(58.5%, 59.7%, 0%, 37.6%)
CIE-LABlab(32.54, 29.43, -51.55)
CIE-LCHlch(32.54, 59.36, 299.72°)
OKLaboklab(43.04% 0.0234 -0.148)
OKLCHoklch(43.04% 0.15 279)
XYZxyz(10.3362, 7.3275, 33.6639)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42409F #9D9F40
analogous
#406D9F #42409F #71409F
triadic
#42409F #9F4240 #409F42
tetradic
#42409F #9F406D #9D9F40 #409F71
square
#42409F #9F406D #9D9F40 #409F71
split-complementary
#42409F #9F7140 #6D9F40
monochromatic
#1E1D48 #302E73 #42409F #605EBE #8B8AD0

Accessibility & contrast

On white

8.52
#42409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#42409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42409F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42409F#FFFFFF#000000##FFFFFF
##42409F1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#085769
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42409f;
/* rgb */ color: rgb(66, 64, 159);
/* oklch */ color: oklch(43.0% 0.150 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f75bc',
    500: '#42409f',
    950: '#000000',
  },
}
SCSS
$custom: #42409f;
$custom-light: #7f75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42409f",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 241.263,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.14982,
    "h": 279
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#42409F
secondary
#B9BB80
accent
#D255D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42409F

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

Preview Lab → · Contrast checker → · Palette generator →

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