#604FCA#604FCA

#604FCA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.183 H 284.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#604FCA
RGBrgb(96, 79, 202)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 61%, 79%)
CMYKcmyk(52.5%, 60.9%, 0%, 20.8%)
CIE-LABlab(41.75, 39.66, -61.88)
CIE-LCHlch(41.75, 73.50, 302.65°)
OKLaboklab(51.44% 0.045 -0.1774)
OKLCHoklch(51.44% 0.183 284.2)
XYZxyz(18.2773, 12.3420, 57.2848)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FCA #B9CA4F
analogous
#4F7BCA #604FCA #9E4FCA
triadic
#604FCA #CA604F #4FCA60
tetradic
#604FCA #CA4F7B #B9CA4F #4FCA9E
square
#604FCA #CA4F7B #B9CA4F #4FCA9E
split-complementary
#604FCA #CA9E4F #7BCA4F
monochromatic
#30257A #4333A9 #604FCA #8A7ED8 #B5ADE6

Accessibility & contrast

On white

6.05
#604FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#604FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FCA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FCA#FFFFFF#000000##FFFFFF
##604FCA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#356C85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604fca;
/* rgb */ color: rgb(96, 79, 202);
/* oklch */ color: oklch(51.4% 0.183 284.2);
Tailwind
colors: {
  custom: {
    50: '#9681db',
    500: '#604fca',
    950: '#000000',
  },
}
SCSS
$custom: #604fca;
$custom-light: #9681db;
$custom-dark: #000000;
JSON
{
  "hex": "#604fca",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 248.293,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.183,
    "h": 284.2
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

primary
#604FCA
secondary
#CDD4A1
accent
#DD4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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