#604AE8#604AE8

#604AE8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.1% C 0.226 H 281.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#604AE8
RGBrgb(96, 74, 232)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(58.6%, 68.1%, 0%, 9%)
CIE-LABlab(43.08, 51.58, -76.89)
CIE-LCHlch(43.08, 92.59, 303.85°)
OKLaboklab(53.14% 0.0462 -0.2215)
OKLCHoklch(53.14% 0.226 281.8)
XYZxyz(21.8336, 13.2091, 77.7274)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AE8 #D2E84A
analogous
#4A83E8 #604AE8 #AF4AE8
triadic
#604AE8 #E8604A #4AE860
tetradic
#604AE8 #E84A83 #D2E84A #4AE8AF
square
#604AE8 #E84A83 #D2E84A #4AE8AF
split-complementary
#604AE8 #E8AF4A #83E84A
monochromatic
#2815A3 #361CD9 #604AE8 #9080EF #BFB7F6

Accessibility & contrast

On white

5.77
#604AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#604AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AE8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AE8#FFFFFF#000000##FFFFFF
##604AE81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #604ae8;
/* rgb */ color: rgb(96, 74, 232);
/* oklch */ color: oklch(53.1% 0.226 281.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ef1',
    500: '#604ae8',
    950: '#000000',
  },
}
SCSS
$custom: #604ae8;
$custom-light: #9b7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#604ae8",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 248.354,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.22624,
    "h": 281.8
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#604AE8
secondary
#DDE5A8
accent
#F434D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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