#42409D#42409D

#42409D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.147 H 279.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#42409D
RGBrgb(66, 64, 157)
HSLhsl(241, 42%, 43%)
HSVhsv(241, 59%, 62%)
CMYKcmyk(58%, 59.2%, 0%, 38.4%)
CIE-LABlab(32.39, 28.75, -50.58)
CIE-LCHlch(32.39, 58.19, 299.62°)
OKLaboklab(42.88% 0.0234 -0.1451)
OKLCHoklch(42.88% 0.147 279.2)
XYZxyz(10.1640, 7.2587, 32.7572)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42409D #9B9D40
analogous
#406C9D #42409D #70409D
triadic
#42409D #9D4240 #409D42
tetradic
#42409D #9D406C #9B9D40 #409D70
square
#42409D #9D406C #9B9D40 #409D70
split-complementary
#42409D #9D7040 #6C9D40
monochromatic
#1D1D46 #302E72 #42409D #5F5DBD #8A89CF

Accessibility & contrast

On white

8.57
#42409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#42409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42409D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42409D#FFFFFF#000000##FFFFFF
##42409D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#0D5668
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42409d;
/* rgb */ color: rgb(66, 64, 157);
/* oklch */ color: oklch(42.9% 0.147 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f75bb',
    500: '#42409d',
    950: '#000000',
  },
}
SCSS
$custom: #42409d;
$custom-light: #7f75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42409d",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 241.29,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.14703,
    "h": 279.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42409D

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

Preview Lab → · Contrast checker → · Palette generator →

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