#604FC8#604FC8

#604FC8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.180 H 284.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#604FC8
RGBrgb(96, 79, 200)
HSLhsl(248, 52%, 55%)
HSVhsv(248, 61%, 78%)
CMYKcmyk(52%, 60.5%, 0%, 21.6%)
CIE-LABlab(41.61, 39.05, -60.96)
CIE-LCHlch(41.61, 72.39, 302.64°)
OKLaboklab(51.29% 0.0451 -0.1747)
OKLCHoklch(51.29% 0.18 284.5)
XYZxyz(18.0420, 12.2479, 56.0458)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC8 #B7C84F
analogous
#4F7AC8 #604FC8 #9D4FC8
triadic
#604FC8 #C8604F #4FC860
tetradic
#604FC8 #C84F7A #B7C84F #4FC89D
square
#604FC8 #C84F7A #B7C84F #4FC89D
split-complementary
#604FC8 #C89D4F #7AC84F
monochromatic
#312577 #4434A6 #604FC8 #8A7ED7 #B4ACE5

Accessibility & contrast

On white

6.09
#604FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#604FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FC8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FC8#FFFFFF#000000##FFFFFF
##604FC81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#376C84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604fc8;
/* rgb */ color: rgb(96, 79, 200);
/* oklch */ color: oklch(51.3% 0.180 284.5);
Tailwind
colors: {
  custom: {
    50: '#9681da',
    500: '#604fc8',
    950: '#000000',
  },
}
SCSS
$custom: #604fc8;
$custom-light: #9681da;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc8",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 248.43,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.18041,
    "h": 284.5
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#604FC8
secondary
#CCD3A0
accent
#DC4CC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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