#604FB9#604FB9

#604FB9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.161 H 286.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#604FB9
RGBrgb(96, 79, 185)
HSLhsl(250, 43%, 52%)
HSVhsv(250, 57%, 73%)
CMYKcmyk(48.1%, 57.3%, 0%, 27.5%)
CIE-LABlab(40.54, 34.50, -53.94)
CIE-LCHlch(40.54, 64.03, 302.60°)
OKLaboklab(50.17% 0.0454 -0.154)
OKLCHoklch(50.17% 0.161 286.4)
XYZxyz(16.3742, 11.5808, 47.2621)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB9 #A8B94F
analogous
#4F73B9 #604FB9 #954FB9
triadic
#604FB9 #B9604F #4FB960
tetradic
#604FB9 #B94F73 #A8B94F #4FB995
square
#604FB9 #B94F73 #A8B94F #4FB995
split-complementary
#604FB9 #B9954F #73B94F
monochromatic
#322865 #483A91 #604FB9 #887BCA #AFA7DC

Accessibility & contrast

On white

6.33
#604FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#604FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FB9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FB9#FFFFFF#000000##FFFFFF
##604FB91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#42677C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604fb9;
/* rgb */ color: rgb(96, 79, 185);
/* oklch */ color: oklch(50.2% 0.161 286.4);
Tailwind
colors: {
  custom: {
    50: '#9481cf',
    500: '#604fb9',
    950: '#000000',
  },
}
SCSS
$custom: #604fb9;
$custom-light: #9481cf;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb9",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 249.623,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.16061,
    "h": 286.4
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#604FB9
secondary
#C2C99B
accent
#D355BF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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