#604FF2#604FF2

#604FF2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.7% C 0.233 H 280.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#604FF2
RGBrgb(96, 79, 242)
HSLhsl(246, 86%, 63%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(60.3%, 67.4%, 0%, 5.1%)
CIE-LABlab(44.92, 51.84, -79.50)
CIE-LCHlch(44.92, 94.91, 303.11°)
OKLaboklab(54.73% 0.0409 -0.2291)
OKLCHoklch(54.73% 0.233 280.1)
XYZxyz(23.6418, 14.4878, 85.5378)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FF2 #E1F24F
analogous
#4F8FF2 #604FF2 #B24FF2
triadic
#604FF2 #F2604F #4FF260
tetradic
#604FF2 #F24F8F #E1F24F #4FF2B2
square
#604FF2 #F24F8F #E1F24F #4FF2B2
split-complementary
#604FF2 #F2B24F #8FF24F
monochromatic
#200EB9 #2D16EE #604FF2 #9388F6 #C7C1FA

Accessibility & contrast

On white

5.39
#604FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#604FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FF2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FF2#FFFFFF#000000##FFFFFF
##604FF21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0064EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #604ff2;
/* rgb */ color: rgb(96, 79, 242);
/* oklch */ color: oklch(54.7% 0.233 280.1);
Tailwind
colors: {
  custom: {
    50: '#9c82f8',
    500: '#604ff2',
    950: '#000000',
  },
}
SCSS
$custom: #604ff2;
$custom-light: #9c82f8;
$custom-dark: #000000;
JSON
{
  "hex": "#604ff2",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 246.258,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.23274,
    "h": 280.1
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#604FF2
secondary
#E6ECB1
accent
#E303CB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #604FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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