#604FC4#604FC4

#604FC4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.175 H 285.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#604FC4
RGBrgb(96, 79, 196)
HSLhsl(249, 50%, 54%)
HSVhsv(249, 60%, 77%)
CMYKcmyk(51%, 59.7%, 0%, 23.1%)
CIE-LABlab(41.32, 37.83, -59.11)
CIE-LCHlch(41.32, 70.18, 302.62°)
OKLaboklab(50.99% 0.0452 -0.1693)
OKLCHoklch(50.99% 0.175 285)
XYZxyz(17.5807, 12.0634, 53.6160)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC4 #B3C44F
analogous
#4F79C4 #604FC4 #9B4FC4
triadic
#604FC4 #C4604F #4FC460
tetradic
#604FC4 #C44F79 #B3C44F #4FC49B
square
#604FC4 #C44F79 #B3C44F #4FC49B
split-complementary
#604FC4 #C49B4F #79C44F
monochromatic
#312672 #4536A0 #604FC4 #897DD3 #B3ABE3

Accessibility & contrast

On white

6.15
#604FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#604FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FC4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FC4#FFFFFF#000000##FFFFFF
##604FC41.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#3A6A82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604fc4;
/* rgb */ color: rgb(96, 79, 196);
/* oklch */ color: oklch(51.0% 0.175 285.0);
Tailwind
colors: {
  custom: {
    50: '#9581d7',
    500: '#604fc4',
    950: '#000000',
  },
}
SCSS
$custom: #604fc4;
$custom-light: #9581d7;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc4",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 248.718,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.17519,
    "h": 285
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

primary
#604FC4
secondary
#C9D09E
accent
#D94EC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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