#604FB7#604FB7

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

Color values

HEX#604FB7
RGBrgb(96, 79, 183)
HSLhsl(250, 42%, 51%)
HSVhsv(250, 57%, 72%)
CMYKcmyk(47.5%, 56.8%, 0%, 28.2%)
CIE-LABlab(40.41, 33.89, -52.99)
CIE-LCHlch(40.41, 62.90, 302.60°)
OKLaboklab(50.02% 0.0454 -0.1512)
OKLCHoklch(50.02% 0.158 286.7)
XYZxyz(16.1646, 11.4970, 46.1580)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB7 #A6B74F
analogous
#4F72B7 #604FB7 #944FB7
triadic
#604FB7 #B7604F #4FB760
tetradic
#604FB7 #B74F72 #A6B74F #4FB794
square
#604FB7 #B74F72 #A6B74F #4FB794
split-complementary
#604FB7 #B7944F #72B74F
monochromatic
#322963 #483A8F #604FB7 #877AC9 #AEA6DB

Accessibility & contrast

On white

6.36
#604FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604FB7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB7#FFFFFF#000000##FFFFFF
##604FB71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BA
Deuteranopia (green-blind)
#085CB5
Tritanopia (blue-blind)
#43667B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb7;
/* rgb */ color: rgb(96, 79, 183);
/* oklch */ color: oklch(50.0% 0.158 286.7);
Tailwind
colors: {
  custom: {
    50: '#9381cd',
    500: '#604fb7',
    950: '#000000',
  },
}
SCSS
$custom: #604fb7;
$custom-light: #9381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb7",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 249.808,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.15793,
    "h": 286.7
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#604FB7
secondary
#C0C89A
accent
#D256BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #604FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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