#604FC7#604FC7

#604FC7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.179 H 284.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#604FC7
RGBrgb(96, 79, 199)
HSLhsl(249, 52%, 55%)
HSVhsv(249, 60%, 78%)
CMYKcmyk(51.8%, 60.3%, 0%, 22%)
CIE-LABlab(41.53, 38.74, -60.50)
CIE-LCHlch(41.53, 71.84, 302.63°)
OKLaboklab(51.21% 0.0451 -0.1733)
OKLCHoklch(51.21% 0.179 284.6)
XYZxyz(17.9256, 12.2013, 55.4323)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC7 #B6C74F
analogous
#4F7AC7 #604FC7 #9C4FC7
triadic
#604FC7 #C7604F #4FC760
tetradic
#604FC7 #C74F7A #B6C74F #4FC79C
square
#604FC7 #C74F7A #B6C74F #4FC79C
split-complementary
#604FC7 #C79C4F #7AC74F
monochromatic
#312676 #4434A4 #604FC7 #8A7DD6 #B4ACE5

Accessibility & contrast

On white

6.10
#604FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#604FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FC7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FC7#FFFFFF#000000##FFFFFF
##604FC71.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#376B83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604fc7;
/* rgb */ color: rgb(96, 79, 199);
/* oklch */ color: oklch(51.2% 0.179 284.6);
Tailwind
colors: {
  custom: {
    50: '#9581d9',
    500: '#604fc7',
    950: '#000000',
  },
}
SCSS
$custom: #604fc7;
$custom-light: #9581d9;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc7",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 248.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.1791,
    "h": 284.6
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#604FC7
secondary
#CBD2A0
accent
#DB4DC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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