#604EEB#604EEB

#604EEB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.225 H 280.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#604EEB
RGBrgb(96, 78, 235)
HSLhsl(247, 80%, 61%)
HSVhsv(247, 67%, 92%)
CMYKcmyk(59.1%, 66.8%, 0%, 7.8%)
CIE-LABlab(44.14, 50.28, -76.85)
CIE-LCHlch(44.14, 91.84, 303.19°)
OKLaboklab(53.98% 0.0426 -0.2214)
OKLCHoklch(53.98% 0.225 280.9)
XYZxyz(22.5389, 13.9321, 80.0826)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EEB #D9EB4E
analogous
#4E8BEB #604EEB #AF4EEB
triadic
#604EEB #EB604E #4EEB60
tetradic
#604EEB #EB4E8B #D9EB4E #4EEBAF
square
#604EEB #EB4E8B #D9EB4E #4EEBAF
split-complementary
#604EEB #EBAF4E #8BEB4E
monochromatic
#2513AB #311AE2 #604EEB #9185F1 #C3BCF7

Accessibility & contrast

On white

5.55
#604EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#604EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EEB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EEB#FFFFFF#000000##FFFFFF
##604EEB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604eeb;
/* rgb */ color: rgb(96, 78, 235);
/* oklch */ color: oklch(54.0% 0.225 280.9);
Tailwind
colors: {
  custom: {
    50: '#9b81f3',
    500: '#604eeb',
    950: '#000000',
  },
}
SCSS
$custom: #604eeb;
$custom-light: #9b81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#604eeb",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 246.879,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.22543,
    "h": 280.9
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#604EEB
secondary
#E1E8AD
accent
#DC09C4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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