#604FCF#604FCF

#604FCF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.189 H 283.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#604FCF
RGBrgb(96, 79, 207)
HSLhsl(248, 57%, 56%)
HSVhsv(248, 62%, 81%)
CMYKcmyk(53.6%, 61.8%, 0%, 18.8%)
CIE-LABlab(42.13, 41.18, -64.16)
CIE-LCHlch(42.13, 76.24, 302.69°)
OKLaboklab(51.83% 0.0447 -0.1841)
OKLCHoklch(51.83% 0.189 283.6)
XYZxyz(18.8789, 12.5827, 60.4533)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FCF #BECF4F
analogous
#4F7ECF #604FCF #A04FCF
triadic
#604FCF #CF604F #4FCF60
tetradic
#604FCF #CF4F7E #BECF4F #4FCFA0
square
#604FCF #CF4F7E #BECF4F #4FCFA0
split-complementary
#604FCF #CFA04F #7ECF4F
monochromatic
#2F2381 #4130B1 #604FCF #8B7FDC #B7AFE9

Accessibility & contrast

On white

5.97
#604FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#604FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FCF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FCF#FFFFFF#000000##FFFFFF
##604FCF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604fcf;
/* rgb */ color: rgb(96, 79, 207);
/* oklch */ color: oklch(51.8% 0.189 283.6);
Tailwind
colors: {
  custom: {
    50: '#9781df',
    500: '#604fcf',
    950: '#000000',
  },
}
SCSS
$custom: #604fcf;
$custom-light: #9781df;
$custom-dark: #000000;
JSON
{
  "hex": "#604fcf",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 247.969,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.18944,
    "h": 283.6
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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