#604EE3#604EE3

#604EE3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.216 H 281.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#604EE3
RGBrgb(96, 78, 227)
HSLhsl(247, 73%, 60%)
HSVhsv(247, 66%, 89%)
CMYKcmyk(57.7%, 65.6%, 0%, 11%)
CIE-LABlab(43.48, 47.85, -73.40)
CIE-LCHlch(43.48, 87.62, 303.10°)
OKLaboklab(53.3% 0.0437 -0.2112)
OKLCHoklch(53.3% 0.216 281.7)
XYZxyz(21.4091, 13.4802, 74.1319)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE3 #D1E34E
analogous
#4E87E3 #604EE3 #AA4EE3
triadic
#604EE3 #E3604E #4EE360
tetradic
#604EE3 #E34E87 #D1E34E #4EE3AA
square
#604EE3 #E34E87 #D1E34E #4EE3AA
split-complementary
#604EE3 #E3AA4E #87E34E
monochromatic
#29199E #3721D3 #604EE3 #8F83EB #BFB8F4

Accessibility & contrast

On white

5.68
#604EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#604EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE3#FFFFFF#000000##FFFFFF
##604EE31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#0C7492
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #604ee3;
/* rgb */ color: rgb(96, 78, 227);
/* oklch */ color: oklch(53.3% 0.216 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a81ed',
    500: '#604ee3',
    950: '#000000',
  },
}
SCSS
$custom: #604ee3;
$custom-light: #9a81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee3",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 247.248,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.21569,
    "h": 281.7
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#604EE3
secondary
#DCE3AA
accent
#EF38D9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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