#604FE8#604FE8

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

Color values

HEX#604FE8
RGBrgb(96, 79, 232)
HSLhsl(247, 77%, 61%)
HSVhsv(247, 66%, 91%)
CMYKcmyk(58.6%, 65.9%, 0%, 9%)
CIE-LABlab(44.09, 48.81, -75.22)
CIE-LCHlch(44.09, 89.67, 302.98°)
OKLaboklab(53.87% 0.0422 -0.2166)
OKLCHoklch(53.87% 0.221 281)
XYZxyz(22.1808, 13.9034, 77.8431)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FE8 #D7E84F
analogous
#4F8AE8 #604FE8 #AC4FE8
triadic
#604FE8 #E8604F #4FE860
tetradic
#604FE8 #E84F8A #D7E84F #4FE8AC
square
#604FE8 #E84F8A #D7E84F #4FE8AC
split-complementary
#604FE8 #E8AC4F #8AE84F
monochromatic
#2616A7 #321DDD #604FE8 #9185EF #C2BBF6

Accessibility & contrast

On white

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

On black

3.78
#604FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##604FE8#FFFFFF#000000##FFFFFF
##604FE81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604fe8;
/* rgb */ color: rgb(96, 79, 232);
/* oklch */ color: oklch(53.9% 0.221 281.0);
Tailwind
colors: {
  custom: {
    50: '#9a82f0',
    500: '#604fe8',
    950: '#000000',
  },
}
SCSS
$custom: #604fe8;
$custom-light: #9a82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#604fe8",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 246.667,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.22067,
    "h": 281
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#604FE8
secondary
#E0E6AD
accent
#D90CC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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