#604FEA#604FEA

#604FEA is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.223 H 280.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#604FEA
RGBrgb(96, 79, 234)
HSLhsl(247, 79%, 61%)
HSVhsv(247, 66%, 92%)
CMYKcmyk(59%, 66.2%, 0%, 8.2%)
CIE-LABlab(44.26, 49.42, -76.09)
CIE-LCHlch(44.26, 90.72, 303.00°)
OKLaboklab(54.04% 0.042 -0.2191)
OKLCHoklch(54.04% 0.223 280.8)
XYZxyz(22.4665, 14.0177, 79.3477)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FEA #D9EA4F
analogous
#4F8CEA #604FEA #AE4FEA
triadic
#604FEA #EA604F #4FEA60
tetradic
#604FEA #EA4F8C #D9EA4F #4FEAAE
square
#604FEA #EA4F8C #D9EA4F #4FEAAE
split-complementary
#604FEA #EAAE4F #8CEA4F
monochromatic
#2514AA #311BE1 #604FEA #9186F1 #C3BCF7

Accessibility & contrast

On white

5.52
#604FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#604FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FEA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FEA#FFFFFF#000000##FFFFFF
##604FEA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #604fea;
/* rgb */ color: rgb(96, 79, 234);
/* oklch */ color: oklch(54.0% 0.223 280.8);
Tailwind
colors: {
  custom: {
    50: '#9b82f2',
    500: '#604fea',
    950: '#000000',
  },
}
SCSS
$custom: #604fea;
$custom-light: #9b82f2;
$custom-dark: #000000;
JSON
{
  "hex": "#604fea",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 246.581,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.2231,
    "h": 280.8
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#604FEA
secondary
#E1E7AD
accent
#DB0BC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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