#42419E#42419E

#42419E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.147 H 278.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#42419E
RGBrgb(66, 65, 158)
HSLhsl(241, 42%, 44%)
HSVhsv(241, 59%, 62%)
CMYKcmyk(58.2%, 58.9%, 0%, 38%)
CIE-LABlab(32.72, 28.45, -50.66)
CIE-LCHlch(32.72, 58.10, 299.32°)
OKLaboklab(43.15% 0.0224 -0.1454)
OKLCHoklch(43.15% 0.147 278.8)
XYZxyz(10.3067, 7.4068, 33.2277)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42419E #9D9E41
analogous
#416E9E #42419E #70419E
triadic
#42419E #9E4241 #419E42
tetradic
#42419E #9E416E #9D9E41 #419E70
square
#42419E #9E416E #9D9E41 #419E70
split-complementary
#42419E #9E7041 #6E9E41
monochromatic
#1E1D47 #302F73 #42419E #605FBD #8B8ACF

Accessibility & contrast

On white

8.46
#42419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42419E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42419E#FFFFFF#000000##FFFFFF
##42419E1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#0B5769
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42419e;
/* rgb */ color: rgb(66, 65, 158);
/* oklch */ color: oklch(43.1% 0.147 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f75bb',
    500: '#42419e',
    950: '#000000',
  },
}
SCSS
$custom: #42419e;
$custom-light: #7f75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42419e",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 240.645,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.14707,
    "h": 278.8
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42419E

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

Preview Lab → · Contrast checker → · Palette generator →

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