#604AE1#604AE1

#604AE1 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.218 H 282.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#604AE1
RGBrgb(96, 74, 225)
HSLhsl(249, 72%, 59%)
HSVhsv(249, 67%, 88%)
CMYKcmyk(57.3%, 67.1%, 0%, 11.8%)
CIE-LABlab(42.49, 49.48, -73.88)
CIE-LCHlch(42.49, 88.92, 303.81°)
OKLaboklab(52.54% 0.0473 -0.2126)
OKLCHoklch(52.54% 0.218 282.5)
XYZxyz(20.8590, 12.8192, 72.5948)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AE1 #CBE14A
analogous
#4A7FE1 #604AE1 #AB4AE1
triadic
#604AE1 #E1604A #4AE160
tetradic
#604AE1 #E14A7F #CBE14A #4AE1AB
square
#604AE1 #E14A7F #CBE14A #4AE1AB
split-complementary
#604AE1 #E1AB4A #7FE14A
monochromatic
#2C1997 #3B22CC #604AE1 #8E7EEA #BCB3F2

Accessibility & contrast

On white

5.89
#604AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#604AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AE1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AE1#FFFFFF#000000##FFFFFF
##604AE11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#14718F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604ae1;
/* rgb */ color: rgb(96, 74, 225);
/* oklch */ color: oklch(52.5% 0.218 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a7eec',
    500: '#604ae1',
    950: '#000000',
  },
}
SCSS
$custom: #604ae1;
$custom-light: #9a7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#604ae1",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 248.742,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.21783,
    "h": 282.5
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#604AE1
secondary
#D9E1A6
accent
#EE39D4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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