#604AFB#604AFB

#604AFB is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.8% C 0.249 H 280.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#604AFB
RGBrgb(96, 74, 251)
HSLhsl(247, 96%, 64%)
HSVhsv(247, 71%, 98%)
CMYKcmyk(61.8%, 70.5%, 0%, 1.6%)
CIE-LABlab(44.73, 57.23, -84.86)
CIE-LCHlch(44.73, 102.36, 303.99°)
OKLaboklab(54.83% 0.043 -0.2448)
OKLCHoklch(54.83% 0.249 280)
XYZxyz(24.6797, 14.3475, 92.7169)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AFB #E5FB4A
analogous
#4A8CFB #604AFB #B94AFB
triadic
#604AFB #FB604A #4AFB60
tetradic
#604AFB #FB4A8C #E5FB4A #4AFBB9
square
#604AFB #FB4A8C #E5FB4A #4AFBB9
split-complementary
#604AFB #FBB94A #8CFB4A
monochromatic
#1C04C6 #2B0EFA #604AFB #9586FC #C9C2FE

Accessibility & contrast

On white

5.43
#604AFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#604AFB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AFB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AFB#FFFFFF#000000##FFFFFF
##604AFB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0063F8
Tritanopia (blue-blind)
#007B9E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #604afb;
/* rgb */ color: rgb(96, 74, 251);
/* oklch */ color: oklch(54.8% 0.249 280.0);
Tailwind
colors: {
  custom: {
    50: '#9e7ffe',
    500: '#604afb',
    950: '#000000',
  },
}
SCSS
$custom: #604afb;
$custom-light: #9e7ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#604afb",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 251
  },
  "hsl": {
    "h": 247.458,
    "s": 95.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.24856,
    "h": 280
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#604AFB
secondary
#E8F0B1
accent
#E600C9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #604AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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