#604FD6#604FD6

#604FD6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.4% C 0.198 H 282.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#604FD6
RGBrgb(96, 79, 214)
HSLhsl(248, 62%, 57%)
HSVhsv(248, 63%, 84%)
CMYKcmyk(55.1%, 63.1%, 0%, 16.1%)
CIE-LABlab(42.66, 43.32, -67.31)
CIE-LCHlch(42.66, 80.05, 302.76°)
OKLaboklab(52.39% 0.0441 -0.1934)
OKLCHoklch(52.39% 0.198 282.9)
XYZxyz(19.7537, 12.9326, 65.0606)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD6 #C5D64F
analogous
#4F81D6 #604FD6 #A44FD6
triadic
#604FD6 #D6604F #4FD660
tetradic
#604FD6 #D64F81 #C5D64F #4FD6A4
square
#604FD6 #D64F81 #C5D64F #4FD6A4
split-complementary
#604FD6 #D6A44F #81D64F
monochromatic
#2E208A #3E2CBC #604FD6 #8D81E2 #BAB2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604FD6#FFFFFF#000000##FFFFFF
##604FD61.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)
#0069DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#27708B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604fd6;
/* rgb */ color: rgb(96, 79, 214);
/* oklch */ color: oklch(52.4% 0.198 282.9);
Tailwind
colors: {
  custom: {
    50: '#9881e4',
    500: '#604fd6',
    950: '#000000',
  },
}
SCSS
$custom: #604fd6;
$custom-light: #9881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd6",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 247.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.19834,
    "h": 282.9
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#604FD6
secondary
#D5DCA5
accent
#E543D1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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