#604EF2#604EF2

#604EF2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.6% C 0.234 H 280.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#604EF2
RGBrgb(96, 78, 242)
HSLhsl(247, 86%, 63%)
HSVhsv(247, 68%, 95%)
CMYKcmyk(60.3%, 67.8%, 0%, 5.1%)
CIE-LABlab(44.72, 52.39, -79.83)
CIE-LCHlch(44.72, 95.49, 303.28°)
OKLaboklab(54.58% 0.0416 -0.2301)
OKLCHoklch(54.58% 0.234 280.3)
XYZxyz(23.5702, 14.3446, 85.5139)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EF2 #E0F24E
analogous
#4E8EF2 #604EF2 #B24EF2
triadic
#604EF2 #F2604E #4EF260
tetradic
#604EF2 #F24E8E #E0F24E #4EF2B2
square
#604EF2 #F24E8E #E0F24E #4EF2B2
split-complementary
#604EF2 #F2B24E #8EF24E
monochromatic
#200EB8 #2D15EE #604EF2 #9387F6 #C6C0FA

Accessibility & contrast

On white

5.43
#604EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#604EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EF2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EF2#FFFFFF#000000##FFFFFF
##604EF21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#00799A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #604ef2;
/* rgb */ color: rgb(96, 78, 242);
/* oklch */ color: oklch(54.6% 0.234 280.3);
Tailwind
colors: {
  custom: {
    50: '#9c81f8',
    500: '#604ef2',
    950: '#000000',
  },
}
SCSS
$custom: #604ef2;
$custom-light: #9c81f8;
$custom-dark: #000000;
JSON
{
  "hex": "#604ef2",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 246.585,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.23383,
    "h": 280.3
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#604EF2
secondary
#E5ECB0
accent
#E303CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #604EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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