#604BE1#604BE1

#604BE1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.217 H 282.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#604BE1
RGBrgb(96, 75, 225)
HSLhsl(248, 71%, 59%)
HSVhsv(248, 67%, 88%)
CMYKcmyk(57.3%, 66.7%, 0%, 11.8%)
CIE-LABlab(42.69, 48.93, -73.54)
CIE-LCHlch(42.69, 88.33, 303.64°)
OKLaboklab(52.69% 0.0464 -0.2117)
OKLCHoklch(52.69% 0.217 282.4)
XYZxyz(20.9263, 12.9538, 72.6172)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BE1 #CCE14B
analogous
#4B81E1 #604BE1 #AB4BE1
triadic
#604BE1 #E1604B #4BE160
tetradic
#604BE1 #E14B81 #CCE14B #4BE1AB
square
#604BE1 #E14B81 #CCE14B #4BE1AB
split-complementary
#604BE1 #E1AB4B #81E14B
monochromatic
#2B1998 #3A22CD #604BE1 #8E7FEA #BDB4F2

Accessibility & contrast

On white

5.85
#604BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#604BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BE1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BE1#FFFFFF#000000##FFFFFF
##604BE11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#147290
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604be1;
/* rgb */ color: rgb(96, 75, 225);
/* oklch */ color: oklch(52.7% 0.217 282.4);
Tailwind
colors: {
  custom: {
    50: '#9a7fec',
    500: '#604be1',
    950: '#000000',
  },
}
SCSS
$custom: #604be1;
$custom-light: #9a7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#604be1",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 248.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.21669,
    "h": 282.4
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#604BE1
secondary
#D9E1A6
accent
#EE3AD5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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