#604FEC#604FEC

#604FEC is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.226 H 280.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#604FEC
RGBrgb(96, 79, 236)
HSLhsl(246, 81%, 62%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(59.3%, 66.5%, 0%, 7.5%)
CIE-LABlab(44.42, 50.02, -76.94)
CIE-LCHlch(44.42, 91.78, 303.03°)
OKLaboklab(54.21% 0.0417 -0.2216)
OKLCHoklch(54.21% 0.226 280.7)
XYZxyz(22.7554, 14.1333, 80.8695)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FEC #DBEC4F
analogous
#4F8DEC #604FEC #AF4FEC
triadic
#604FEC #EC604F #4FEC60
tetradic
#604FEC #EC4F8D #DBEC4F #4FECAF
square
#604FEC #EC4F8D #DBEC4F #4FECAF
split-complementary
#604FEC #ECAF4F #8DEC4F
monochromatic
#2413AE #2F19E5 #604FEC #9286F2 #C4BDF8

Accessibility & contrast

On white

5.49
#604FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#604FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FEC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FEC#FFFFFF#000000##FFFFFF
##604FEC1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #604fec;
/* rgb */ color: rgb(96, 79, 236);
/* oklch */ color: oklch(54.2% 0.226 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b82f3',
    500: '#604fec',
    950: '#000000',
  },
}
SCSS
$custom: #604fec;
$custom-light: #9b82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#604fec",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 246.497,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.22552,
    "h": 280.7
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#604FEC
secondary
#E2E8AE
accent
#DD09C6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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