#604FC5#604FC5

#604FC5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.176 H 284.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#604FC5
RGBrgb(96, 79, 197)
HSLhsl(249, 50%, 54%)
HSVhsv(249, 60%, 77%)
CMYKcmyk(51.3%, 59.9%, 0%, 22.7%)
CIE-LABlab(41.39, 38.13, -59.58)
CIE-LCHlch(41.39, 70.73, 302.62°)
OKLaboklab(51.06% 0.0452 -0.1706)
OKLCHoklch(51.06% 0.177 284.8)
XYZxyz(17.6949, 12.1091, 54.2174)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC5 #B4C54F
analogous
#4F79C5 #604FC5 #9B4FC5
triadic
#604FC5 #C5604F #4FC560
tetradic
#604FC5 #C54F79 #B4C54F #4FC59B
square
#604FC5 #C54F79 #B4C54F #4FC59B
split-complementary
#604FC5 #C59B4F #79C54F
monochromatic
#312674 #4535A2 #604FC5 #8A7DD4 #B3ABE3

Accessibility & contrast

On white

6.14
#604FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#604FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FC5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FC5#FFFFFF#000000##FFFFFF
##604FC51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#396B82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604fc5;
/* rgb */ color: rgb(96, 79, 197);
/* oklch */ color: oklch(51.1% 0.176 284.8);
Tailwind
colors: {
  custom: {
    50: '#9581d7',
    500: '#604fc5',
    950: '#000000',
  },
}
SCSS
$custom: #604fc5;
$custom-light: #9581d7;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc5",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 248.644,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.1765,
    "h": 284.8
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#604FC5
secondary
#CAD19F
accent
#DA4EC6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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