#604FD7#604FD7

#604FD7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.5% C 0.200 H 282.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#604FD7
RGBrgb(96, 79, 215)
HSLhsl(248, 63%, 58%)
HSVhsv(248, 63%, 84%)
CMYKcmyk(55.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(42.74, 43.62, -67.76)
CIE-LCHlch(42.74, 80.59, 302.77°)
OKLaboklab(52.47% 0.044 -0.1947)
OKLCHoklch(52.47% 0.2 282.7)
XYZxyz(19.8818, 12.9838, 65.7353)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD7 #C6D74F
analogous
#4F82D7 #604FD7 #A44FD7
triadic
#604FD7 #D7604F #4FD760
tetradic
#604FD7 #D74F82 #C6D74F #4FD7A4
square
#604FD7 #D74F82 #C6D74F #4FD7A4
split-complementary
#604FD7 #D7A44F #82D74F
monochromatic
#2D208C #3D2BBE #604FD7 #8D81E2 #BAB3EE

Accessibility & contrast

On white

5.84
#604FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#604FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FD7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD7#FFFFFF#000000##FFFFFF
##604FD71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#26718C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604fd7;
/* rgb */ color: rgb(96, 79, 215);
/* oklch */ color: oklch(52.5% 0.200 282.7);
Tailwind
colors: {
  custom: {
    50: '#9881e4',
    500: '#604fd7',
    950: '#000000',
  },
}
SCSS
$custom: #604fd7;
$custom-light: #9881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd7",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 247.5,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.1996,
    "h": 282.7
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#604FD7
secondary
#D5DCA6
accent
#E642D1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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