#604FCC#604FCC

#604FCC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.6% C 0.186 H 284.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#604FCC
RGBrgb(96, 79, 204)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.9%, 61.3%, 0%, 20%)
CIE-LABlab(41.90, 40.27, -62.79)
CIE-LCHlch(41.90, 74.60, 302.67°)
OKLaboklab(51.6% 0.0448 -0.1801)
OKLCHoklch(51.6% 0.186 284)
XYZxyz(18.5156, 12.4374, 58.5400)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FCC #BBCC4F
analogous
#4F7CCC #604FCC #9E4FCC
triadic
#604FCC #CC604F #4FCC60
tetradic
#604FCC #CC4F7C #BBCC4F #4FCC9E
square
#604FCC #CC4F7C #BBCC4F #4FCC9E
split-complementary
#604FCC #CC9E4F #7CCC4F
monochromatic
#30247D #4232AC #604FCC #8B7EDA #B6AEE7

Accessibility & contrast

On white

6.02
#604FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#604FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FCC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FCC#FFFFFF#000000##FFFFFF
##604FCC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#336D86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604fcc;
/* rgb */ color: rgb(96, 79, 204);
/* oklch */ color: oklch(51.6% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#9681dc',
    500: '#604fcc',
    950: '#000000',
  },
}
SCSS
$custom: #604fcc;
$custom-light: #9681dc;
$custom-dark: #000000;
JSON
{
  "hex": "#604fcc",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 248.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.18558,
    "h": 284
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#604FCC
secondary
#CED5A1
accent
#DE49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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