#42419F#42419F

#42419F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.148 H 278.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#42419F
RGBrgb(66, 65, 159)
HSLhsl(241, 42%, 44%)
HSVhsv(241, 59%, 62%)
CMYKcmyk(58.5%, 59.1%, 0%, 37.6%)
CIE-LABlab(32.79, 28.79, -51.14)
CIE-LCHlch(32.79, 58.69, 299.38°)
OKLaboklab(43.23% 0.0224 -0.1468)
OKLCHoklch(43.23% 0.148 278.7)
XYZxyz(10.3931, 7.4413, 33.6828)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42419F #9E9F41
analogous
#416F9F #42419F #71419F
triadic
#42419F #9F4241 #419F42
tetradic
#42419F #9F416F #9E9F41 #419F71
square
#42419F #9F416F #9E9F41 #419F71
split-complementary
#42419F #9F7141 #6F9F41
monochromatic
#1E1D48 #302F74 #42419F #605FBE #8C8BD0

Accessibility & contrast

On white

8.44
#42419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#42419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42419F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42419F#FFFFFF#000000##FFFFFF
##42419F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42419f;
/* rgb */ color: rgb(66, 65, 159);
/* oklch */ color: oklch(43.2% 0.148 278.7);
Tailwind
colors: {
  custom: {
    50: '#7f75bc',
    500: '#42419f',
    950: '#000000',
  },
}
SCSS
$custom: #42419f;
$custom-light: #7f75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42419f",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 240.638,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.14847,
    "h": 278.7
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#42419F
secondary
#BABA81
accent
#D256D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42419F

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

Preview Lab → · Contrast checker → · Palette generator →

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