#604AE6#604AE6

#604AE6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.224 H 282.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#604AE6
RGBrgb(96, 74, 230)
HSLhsl(248, 76%, 60%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(58.3%, 67.8%, 0%, 9.8%)
CIE-LABlab(42.91, 50.98, -76.03)
CIE-LCHlch(42.91, 91.54, 303.84°)
OKLaboklab(52.97% 0.0465 -0.219)
OKLCHoklch(52.97% 0.224 282)
XYZxyz(21.5511, 13.0961, 76.2397)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AE6 #D0E64A
analogous
#4A82E6 #604AE6 #AE4AE6
triadic
#604AE6 #E6604A #4AE660
tetradic
#604AE6 #E64A82 #D0E64A #4AE6AE
square
#604AE6 #E64A82 #D0E64A #4AE6AE
split-complementary
#604AE6 #E6AE4A #82E64A
monochromatic
#2916A0 #371DD5 #604AE6 #8F80ED #BEB6F5

Accessibility & contrast

On white

5.80
#604AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#604AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AE6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AE6#FFFFFF#000000##FFFFFF
##604AE61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ae6;
/* rgb */ color: rgb(96, 74, 230);
/* oklch */ color: oklch(53.0% 0.224 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a7eef',
    500: '#604ae6',
    950: '#000000',
  },
}
SCSS
$custom: #604ae6;
$custom-light: #9a7eef;
$custom-dark: #000000;
JSON
{
  "hex": "#604ae6",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 248.462,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.22385,
    "h": 282
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#604AE6
secondary
#DCE4A8
accent
#F235D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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