#42409E#42409E

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

Color values

HEX#42409E
RGBrgb(66, 64, 158)
HSLhsl(241, 42%, 44%)
HSVhsv(241, 59%, 62%)
CMYKcmyk(58.2%, 59.5%, 0%, 38%)
CIE-LABlab(32.46, 29.09, -51.07)
CIE-LCHlch(32.46, 58.77, 299.67°)
OKLaboklab(42.96% 0.0234 -0.1466)
OKLCHoklch(42.96% 0.148 279.1)
XYZxyz(10.2498, 7.2930, 33.2087)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42409E #9C9E40
analogous
#406D9E #42409E #71409E
triadic
#42409E #9E4240 #409E42
tetradic
#42409E #9E406D #9C9E40 #409E71
square
#42409E #9E406D #9C9E40 #409E71
split-complementary
#42409E #9E7140 #6D9E40
monochromatic
#1E1D47 #302E72 #42409E #605EBE #8B89CF

Accessibility & contrast

On white

8.54
#42409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#42409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42409E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42409E#FFFFFF#000000##FFFFFF
##42409E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#0B5668
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42409e;
/* rgb */ color: rgb(66, 64, 158);
/* oklch */ color: oklch(43.0% 0.148 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f75bb',
    500: '#42409e',
    950: '#000000',
  },
}
SCSS
$custom: #42409e;
$custom-light: #7f75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42409e",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 241.277,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.14842,
    "h": 279.1
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#42409E
secondary
#B9BA80
accent
#D256CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42409E

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

Preview Lab → · Contrast checker → · Palette generator →

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