#604EE2#604EE2

#604EE2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.214 H 281.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#604EE2
RGBrgb(96, 78, 226)
HSLhsl(247, 72%, 60%)
HSVhsv(247, 65%, 89%)
CMYKcmyk(57.5%, 65.5%, 0%, 11.4%)
CIE-LABlab(43.40, 47.55, -72.96)
CIE-LCHlch(43.40, 87.09, 303.09°)
OKLaboklab(53.22% 0.0438 -0.2099)
OKLCHoklch(53.22% 0.214 281.8)
XYZxyz(21.2715, 13.4251, 73.4072)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE2 #D0E24E
analogous
#4E86E2 #604EE2 #AA4EE2
triadic
#604EE2 #E2604E #4EE260
tetradic
#604EE2 #E24E86 #D0E24E #4EE2AA
square
#604EE2 #E24E86 #D0E24E #4EE2AA
split-complementary
#604EE2 #E2AA4E #86E24E
monochromatic
#291A9C #3722D1 #604EE2 #8F83EB #BEB7F3

Accessibility & contrast

On white

5.70
#604EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#604EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE2#FFFFFF#000000##FFFFFF
##604EE21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#107491
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #604ee2;
/* rgb */ color: rgb(96, 78, 226);
/* oklch */ color: oklch(53.2% 0.214 281.8);
Tailwind
colors: {
  custom: {
    50: '#9981ec',
    500: '#604ee2',
    950: '#000000',
  },
}
SCSS
$custom: #604ee2;
$custom-light: #9981ec;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee2",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 247.297,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.21446,
    "h": 281.8
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#604EE2
secondary
#DCE3A9
accent
#EF39D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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