#42409A#42409A

#42409A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.143 H 279.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#42409A
RGBrgb(66, 64, 154)
HSLhsl(241, 41%, 43%)
HSVhsv(241, 58%, 60%)
CMYKcmyk(57.1%, 58.4%, 0%, 39.6%)
CIE-LABlab(32.16, 27.74, -49.13)
CIE-LCHlch(32.16, 56.42, 299.45°)
OKLaboklab(42.64% 0.0234 -0.1409)
OKLCHoklch(42.64% 0.143 279.4)
XYZxyz(9.9111, 7.1575, 31.4249)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42409A #989A40
analogous
#406B9A #42409A #6F409A
triadic
#42409A #9A4240 #409A42
tetradic
#42409A #9A406B #989A40 #409A6F
square
#42409A #9A406B #989A40 #409A6F
split-complementary
#42409A #9A6F40 #6B9A40
monochromatic
#1D1C44 #2F2E6F #42409A #5E5CBB #8987CD

Accessibility & contrast

On white

8.64
#42409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#42409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42409A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42409A#FFFFFF#000000##FFFFFF
##42409A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#135566
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42409a;
/* rgb */ color: rgb(66, 64, 154);
/* oklch */ color: oklch(42.6% 0.143 279.4);
Tailwind
colors: {
  custom: {
    50: '#7f75b8',
    500: '#42409a',
    950: '#000000',
  },
}
SCSS
$custom: #42409a;
$custom-light: #7f75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42409a",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 241.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.14281,
    "h": 279.4
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#42409A
secondary
#B7B87E
accent
#D157CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #42409A

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

Preview Lab → · Contrast checker → · Palette generator →

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