#604BCB#604BCB

#604BCB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.9% C 0.189 H 285.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#604BCB
RGBrgb(96, 75, 203)
HSLhsl(250, 55%, 55%)
HSVhsv(250, 63%, 80%)
CMYKcmyk(52.7%, 63.1%, 0%, 20.4%)
CIE-LABlab(40.94, 42.30, -63.78)
CIE-LCHlch(40.94, 76.53, 303.55°)
OKLaboklab(50.88% 0.0489 -0.183)
OKLCHoklch(50.88% 0.189 285)
XYZxyz(18.1162, 11.8298, 57.8171)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BCB #B6CB4B
analogous
#4B76CB #604BCB #A04BCB
triadic
#604BCB #CB604B #4BCB60
tetradic
#604BCB #CB4B76 #B6CB4B #4BCBA0
square
#604BCB #CB4B76 #B6CB4B #4BCBA0
split-complementary
#604BCB #CBA04B #76CB4B
monochromatic
#312379 #4431A8 #604BCB #8A7AD9 #B4AAE6

Accessibility & contrast

On white

6.24
#604BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#604BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BCB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BCB#FFFFFF#000000##FFFFFF
##604BCB1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#346A84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604bcb;
/* rgb */ color: rgb(96, 75, 203);
/* oklch */ color: oklch(50.9% 0.189 285.0);
Tailwind
colors: {
  custom: {
    50: '#967edc',
    500: '#604bcb',
    950: '#000000',
  },
}
SCSS
$custom: #604bcb;
$custom-light: #967edc;
$custom-dark: #000000;
JSON
{
  "hex": "#604bcb",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 249.844,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.1894,
    "h": 285
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#604BCB
secondary
#CBD49E
accent
#DF49C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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