#604FB6#604FB6

#604FB6 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.157 H 286.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#604FB6
RGBrgb(96, 79, 182)
HSLhsl(250, 41%, 51%)
HSVhsv(250, 57%, 71%)
CMYKcmyk(47.3%, 56.6%, 0%, 28.6%)
CIE-LABlab(40.34, 33.59, -52.51)
CIE-LCHlch(40.34, 62.34, 302.61°)
OKLaboklab(49.95% 0.0454 -0.1498)
OKLCHoklch(49.95% 0.157 286.9)
XYZxyz(16.0609, 11.4555, 45.6118)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB6 #A5B64F
analogous
#4F71B6 #604FB6 #934FB6
triadic
#604FB6 #B6604F #4FB660
tetradic
#604FB6 #B64F71 #A5B64F #4FB693
square
#604FB6 #B64F71 #A5B64F #4FB693
split-complementary
#604FB6 #B6934F #71B64F
monochromatic
#322962 #483B8D #604FB6 #877AC8 #AEA6DA

Accessibility & contrast

On white

6.38
#604FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#604FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB6#FFFFFF#000000##FFFFFF
##604FB61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E62B9
Deuteranopia (green-blind)
#0C5CB4
Tritanopia (blue-blind)
#44667B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb6;
/* rgb */ color: rgb(96, 79, 182);
/* oklch */ color: oklch(50.0% 0.157 286.9);
Tailwind
colors: {
  custom: {
    50: '#9381cd',
    500: '#604fb6',
    950: '#000000',
  },
}
SCSS
$custom: #604fb6;
$custom-light: #9381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb6",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 249.903,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.15658,
    "h": 286.9
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#604FB6
secondary
#C0C79A
accent
#D157BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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