#604CD7#604CD7

#604CD7 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.203 H 283.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#604CD7
RGBrgb(96, 76, 215)
HSLhsl(249, 63%, 57%)
HSVhsv(249, 65%, 84%)
CMYKcmyk(55.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(42.09, 45.35, -68.81)
CIE-LCHlch(42.09, 82.41, 303.38°)
OKLaboklab(52% 0.0468 -0.1978)
OKLCHoklch(52% 0.203 283.3)
XYZxyz(19.6703, 12.5608, 65.6648)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD7 #C3D74C
analogous
#4C7ED7 #604CD7 #A64CD7
triadic
#604CD7 #D7604C #4CD760
tetradic
#604CD7 #D74C7E #C3D74C #4CD7A6
square
#604CD7 #D74C7E #C3D74C #4CD7A6
split-complementary
#604CD7 #D7A64C #7ED74C
monochromatic
#2E1F8A #3F2ABC #604CD7 #8C7EE2 #B9B0ED

Accessibility & contrast

On white

5.98
#604CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#604CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CD7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD7#FFFFFF#000000##FFFFFF
##604CD71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#266F8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604cd7;
/* rgb */ color: rgb(96, 76, 215);
/* oklch */ color: oklch(52.0% 0.203 283.3);
Tailwind
colors: {
  custom: {
    50: '#987fe4',
    500: '#604cd7',
    950: '#000000',
  },
}
SCSS
$custom: #604cd7;
$custom-light: #987fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd7",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 248.633,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.20323,
    "h": 283.3
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#604CD7
secondary
#D4DCA3
accent
#E641CF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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