#604AE4#604AE4

#604AE4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.221 H 282.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#604AE4
RGBrgb(96, 74, 228)
HSLhsl(249, 74%, 59%)
HSVhsv(249, 68%, 89%)
CMYKcmyk(57.9%, 67.5%, 0%, 10.6%)
CIE-LABlab(42.74, 50.38, -75.17)
CIE-LCHlch(42.74, 90.49, 303.83°)
OKLaboklab(52.8% 0.0468 -0.2164)
OKLCHoklch(52.8% 0.221 282.2)
XYZxyz(21.2719, 12.9844, 74.7691)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AE4 #CEE44A
analogous
#4A81E4 #604AE4 #AD4AE4
triadic
#604AE4 #E4604A #4AE460
tetradic
#604AE4 #E44A81 #CEE44A #4AE4AD
square
#604AE4 #E44A81 #CEE44A #4AE4AD
split-complementary
#604AE4 #E4AD4A #81E44A
monochromatic
#2A179C #391FD2 #604AE4 #8F7FEC #BEB5F4

Accessibility & contrast

On white

5.84
#604AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#604AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AE4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AE4#FFFFFF#000000##FFFFFF
##604AE41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005FE1
Tritanopia (blue-blind)
#0A7291
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ae4;
/* rgb */ color: rgb(96, 74, 228);
/* oklch */ color: oklch(52.8% 0.221 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a7eee',
    500: '#604ae4',
    950: '#000000',
  },
}
SCSS
$custom: #604ae4;
$custom-light: #9a7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#604ae4",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 248.571,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.22144,
    "h": 282.2
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#604AE4
secondary
#DAE3A7
accent
#F137D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604AE4

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

Preview Lab → · Contrast checker → · Palette generator →

#604AE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva