#604FCB#604FCB

#604FCB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.184 H 284.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#604FCB
RGBrgb(96, 79, 203)
HSLhsl(248, 54%, 55%)
HSVhsv(248, 61%, 80%)
CMYKcmyk(52.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(41.83, 39.96, -62.34)
CIE-LCHlch(41.83, 74.05, 302.66°)
OKLaboklab(51.52% 0.0449 -0.1787)
OKLCHoklch(51.52% 0.184 284.1)
XYZxyz(18.3961, 12.3895, 57.9104)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FCB #BACB4F
analogous
#4F7CCB #604FCB #9E4FCB
triadic
#604FCB #CB604F #4FCB60
tetradic
#604FCB #CB4F7C #BACB4F #4FCB9E
square
#604FCB #CB4F7C #BACB4F #4FCB9E
split-complementary
#604FCB #CB9E4F #7CCB4F
monochromatic
#30247B #4332AA #604FCB #8B7ED9 #B5ADE7

Accessibility & contrast

On white

6.04
#604FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#604FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FCB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FCB#FFFFFF#000000##FFFFFF
##604FCB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#346D85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604fcb;
/* rgb */ color: rgb(96, 79, 203);
/* oklch */ color: oklch(51.5% 0.184 284.1);
Tailwind
colors: {
  custom: {
    50: '#9681dc',
    500: '#604fcb',
    950: '#000000',
  },
}
SCSS
$custom: #604fcb;
$custom-light: #9681dc;
$custom-dark: #000000;
JSON
{
  "hex": "#604fcb",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 248.226,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.18429,
    "h": 284.1
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#604FCB
secondary
#CED5A1
accent
#DE4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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