#604FFF#604FFF

#604FFF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.9% C 0.248 H 279.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#604FFF
RGBrgb(96, 79, 255)
HSLhsl(246, 100%, 65%)
HSVhsv(246, 69%, 100%)
CMYKcmyk(62.4%, 69%, 0%, 0%)
CIE-LABlab(46.04, 55.77, -84.94)
CIE-LCHlch(46.04, 101.61, 303.29°)
OKLaboklab(55.87% 0.0389 -0.2451)
OKLCHoklch(55.87% 0.248 279)
XYZxyz(25.6641, 15.2967, 96.1885)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FFF #EEFF4F
analogous
#4F96FF #604FFF #B84FFF
triadic
#604FFF #FF604F #4FFF60
tetradic
#604FFF #FF4F96 #EEFF4F #4FFFB8
square
#604FFF #FF4F96 #EEFF4F #4FFFB8
split-complementary
#604FFF #FFB84F #96FF4F
monochromatic
#1400D4 #2912FF #604FFF #978CFF #CFC9FF

Accessibility & contrast

On white

5.17
#604FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#604FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FFF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FFF#FFFFFF#000000##FFFFFF
##604FFF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0066FC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #604fff;
/* rgb */ color: rgb(96, 79, 255);
/* oklch */ color: oklch(55.9% 0.248 279.0);
Tailwind
colors: {
  custom: {
    50: '#9e82ff',
    500: '#604fff',
    950: '#000000',
  },
}
SCSS
$custom: #604fff;
$custom-light: #9e82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#604fff",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 245.795,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.24813,
    "h": 279
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#604FFF
secondary
#EDF2B7
accent
#E600CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #604FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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