#604FC6#604FC6

#604FC6 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.178 H 284.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#604FC6
RGBrgb(96, 79, 198)
HSLhsl(249, 51%, 54%)
HSVhsv(249, 60%, 78%)
CMYKcmyk(51.5%, 60.1%, 0%, 22.4%)
CIE-LABlab(41.46, 38.44, -60.04)
CIE-LCHlch(41.46, 71.29, 302.63°)
OKLaboklab(51.14% 0.0452 -0.172)
OKLCHoklch(51.14% 0.178 284.7)
XYZxyz(17.8098, 12.1550, 54.8228)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC6 #B5C64F
analogous
#4F7AC6 #604FC6 #9B4FC6
triadic
#604FC6 #C6604F #4FC660
tetradic
#604FC6 #C64F7A #B5C64F #4FC69B
square
#604FC6 #C64F7A #B5C64F #4FC69B
split-complementary
#604FC6 #C69B4F #7AC64F
monochromatic
#312675 #4535A3 #604FC6 #8A7DD5 #B4ABE4

Accessibility & contrast

On white

6.12
#604FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#604FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FC6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FC6#FFFFFF#000000##FFFFFF
##604FC61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#386B83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604fc6;
/* rgb */ color: rgb(96, 79, 198);
/* oklch */ color: oklch(51.1% 0.178 284.7);
Tailwind
colors: {
  custom: {
    50: '#9581d8',
    500: '#604fc6',
    950: '#000000',
  },
}
SCSS
$custom: #604fc6;
$custom-light: #9581d8;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc6",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 248.571,
    "s": 51.073,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.17781,
    "h": 284.7
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#604FC6
secondary
#CAD29F
accent
#DB4DC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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