#604EEC#604EEC

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

Color values

HEX#604EEC
RGBrgb(96, 78, 236)
HSLhsl(247, 81%, 62%)
HSVhsv(247, 67%, 93%)
CMYKcmyk(59.3%, 66.9%, 0%, 7.5%)
CIE-LABlab(44.22, 50.58, -77.28)
CIE-LCHlch(44.22, 92.36, 303.21°)
OKLaboklab(54.07% 0.0425 -0.2226)
OKLCHoklch(54.07% 0.227 280.8)
XYZxyz(22.6838, 13.9901, 80.8456)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EEC #DAEC4E
analogous
#4E8BEC #604EEC #AF4EEC
triadic
#604EEC #EC604E #4EEC60
tetradic
#604EEC #EC4E8B #DAEC4E #4EECAF
square
#604EEC #EC4E8B #DAEC4E #4EECAF
split-complementary
#604EEC #ECAF4E #8BEC4E
monochromatic
#2413AD #3019E4 #604EEC #9285F2 #C3BDF8

Accessibility & contrast

On white

5.53
#604EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604EEC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EEC#FFFFFF#000000##FFFFFF
##604EEC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007797
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #604eec;
/* rgb */ color: rgb(96, 78, 236);
/* oklch */ color: oklch(54.1% 0.227 280.8);
Tailwind
colors: {
  custom: {
    50: '#9b81f3',
    500: '#604eec',
    950: '#000000',
  },
}
SCSS
$custom: #604eec;
$custom-light: #9b81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#604eec",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 246.835,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.22664,
    "h": 280.8
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#604EEC
secondary
#E2E8AE
accent
#DD09C5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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