#42419A#42419A

#42419A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.141 H 279.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#42419A
RGBrgb(66, 65, 154)
HSLhsl(241, 41%, 43%)
HSVhsv(241, 58%, 60%)
CMYKcmyk(57.1%, 57.8%, 0%, 39.6%)
CIE-LABlab(32.42, 27.10, -48.72)
CIE-LCHlch(32.42, 55.75, 299.08°)
OKLaboklab(42.83% 0.0224 -0.1397)
OKLCHoklch(42.83% 0.141 279.1)
XYZxyz(9.9680, 7.2713, 31.4438)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42419A #999A41
analogous
#416C9A #42419A #6E419A
triadic
#42419A #9A4241 #419A42
tetradic
#42419A #9A416C #999A41 #419A6E
square
#42419A #9A416C #999A41 #419A6E
split-complementary
#42419A #9A6E41 #6C9A41
monochromatic
#1D1D44 #302F6F #42419A #5E5DBB #8988CD

Accessibility & contrast

On white

8.56
#42419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#42419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42419A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42419A#FFFFFF#000000##FFFFFF
##42419A1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#135667
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42419a;
/* rgb */ color: rgb(66, 65, 154);
/* oklch */ color: oklch(42.8% 0.141 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f75b8',
    500: '#42419a',
    950: '#000000',
  },
}
SCSS
$custom: #42419a;
$custom-light: #7f75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42419a",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 240.674,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.14144,
    "h": 279.1
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#42419A
secondary
#B7B87F
accent
#D057CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #42419A

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

Preview Lab → · Contrast checker → · Palette generator →

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