#424294#424294

#424294 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.131 H 279.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#424294
RGBrgb(66, 66, 148)
HSLhsl(240, 38%, 42%)
HSVhsv(240, 55%, 58%)
CMYKcmyk(55.4%, 55.4%, 0%, 42%)
CIE-LABlab(32.24, 24.42, -45.35)
CIE-LCHlch(32.24, 51.51, 298.30°)
OKLaboklab(42.56% 0.0211 -0.1297)
OKLCHoklch(42.56% 0.131 279.2)
XYZxyz(9.5386, 7.1922, 28.8968)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424294 #949442
analogous
#426B94 #424294 #6B4294
triadic
#424294 #944242 #429442
tetradic
#424294 #94426B #949442 #42946B
square
#424294 #94426B #949442 #42946B
split-complementary
#424294 #946B42 #6B9442
monochromatic
#1C1C3F #2F2F6A #424294 #5D5DB7 #8787C9

Accessibility & contrast

On white

8.61
#424294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#424294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424294
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424294#FFFFFF#000000##FFFFFF
##4242941.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F97
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#1B5564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424294;
/* rgb */ color: rgb(66, 66, 148);
/* oklch */ color: oklch(42.6% 0.131 279.2);
Tailwind
colors: {
  custom: {
    50: '#7d76b4',
    500: '#424294',
    950: '#000000',
  },
}
SCSS
$custom: #424294;
$custom-light: #7d76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#424294",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 38.318,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42561,
    "c": 0.13145,
    "h": 279.2
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#424294
secondary
#B4B47E
accent
#CE5ACE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #424294

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

Preview Lab → · Contrast checker → · Palette generator →

#424294 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva