#604ECF#604ECF

#604ECF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.7% C 0.191 H 283.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#604ECF
RGBrgb(96, 78, 207)
HSLhsl(248, 57%, 56%)
HSVhsv(248, 62%, 81%)
CMYKcmyk(53.6%, 62.3%, 0%, 18.8%)
CIE-LABlab(41.91, 41.77, -64.52)
CIE-LCHlch(41.91, 76.86, 302.92°)
OKLaboklab(51.67% 0.0456 -0.1852)
OKLCHoklch(51.67% 0.191 283.8)
XYZxyz(18.8073, 12.4395, 60.4294)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ECF #BDCF4E
analogous
#4E7CCF #604ECF #A04ECF
triadic
#604ECF #CF604E #4ECF60
tetradic
#604ECF #CF4E7C #BDCF4E #4ECFA0
square
#604ECF #CF4E7C #BDCF4E #4ECFA0
split-complementary
#604ECF #CFA04E #7CCF4E
monochromatic
#302380 #4230B0 #604ECF #8B7EDC #B6AEE9

Accessibility & contrast

On white

6.02
#604ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#604ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ECF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ECF#FFFFFF#000000##FFFFFF
##604ECF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#306D87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604ecf;
/* rgb */ color: rgb(96, 78, 207);
/* oklch */ color: oklch(51.7% 0.191 283.8);
Tailwind
colors: {
  custom: {
    50: '#9780df',
    500: '#604ecf',
    950: '#000000',
  },
}
SCSS
$custom: #604ecf;
$custom-light: #9780df;
$custom-dark: #000000;
JSON
{
  "hex": "#604ecf",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 248.372,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.1907,
    "h": 283.8
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#604ECF
secondary
#D0D7A2
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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