#604EBB#604EBB

#604EBB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.165 H 286.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#604EBB
RGBrgb(96, 78, 187)
HSLhsl(250, 44%, 52%)
HSVhsv(250, 58%, 73%)
CMYKcmyk(48.7%, 58.3%, 0%, 26.7%)
CIE-LABlab(40.45, 35.70, -55.27)
CIE-LCHlch(40.45, 65.80, 302.86°)
OKLaboklab(50.14% 0.0466 -0.1579)
OKLCHoklch(50.14% 0.165 286.4)
XYZxyz(16.5153, 11.5227, 48.3580)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EBB #A9BB4E
analogous
#4E73BB #604EBB #974EBB
triadic
#604EBB #BB604E #4EBB60
tetradic
#604EBB #BB4E73 #A9BB4E #4EBB97
square
#604EBB #BB4E73 #A9BB4E #4EBB97
split-complementary
#604EBB #BB974E #73BB4E
monochromatic
#322867 #483993 #604EBB #887ACC #AFA6DD

Accessibility & contrast

On white

6.35
#604EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#604EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EBB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EBB#FFFFFF#000000##FFFFFF
##604EBB1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#41677D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604ebb;
/* rgb */ color: rgb(96, 78, 187);
/* oklch */ color: oklch(50.1% 0.165 286.4);
Tailwind
colors: {
  custom: {
    50: '#9480d0',
    500: '#604ebb',
    950: '#000000',
  },
}
SCSS
$custom: #604ebb;
$custom-light: #9480d0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ebb",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 249.908,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.16467,
    "h": 286.4
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#604EBB
secondary
#C2CA9B
accent
#D454BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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