#604FB8#604FB8

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

Color values

HEX#604FB8
RGBrgb(96, 79, 184)
HSLhsl(250, 43%, 52%)
HSVhsv(250, 57%, 72%)
CMYKcmyk(47.8%, 57.1%, 0%, 27.8%)
CIE-LABlab(40.47, 34.20, -53.47)
CIE-LCHlch(40.47, 63.47, 302.60°)
OKLaboklab(50.1% 0.0454 -0.1526)
OKLCHoklch(50.1% 0.159 286.6)
XYZxyz(16.2691, 11.5387, 46.7081)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FB8 #A7B84F
analogous
#4F73B8 #604FB8 #954FB8
triadic
#604FB8 #B8604F #4FB860
tetradic
#604FB8 #B84F73 #A7B84F #4FB895
square
#604FB8 #B84F73 #A7B84F #4FB895
split-complementary
#604FB8 #B8954F #73B84F
monochromatic
#322864 #483A90 #604FB8 #877BCA #AFA6DB

Accessibility & contrast

On white

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

On black

3.31
#604FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##604FB8#FFFFFF#000000##FFFFFF
##604FB81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0662BC
Deuteranopia (green-blind)
#035CB6
Tritanopia (blue-blind)
#42677C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #604fb8;
/* rgb */ color: rgb(96, 79, 184);
/* oklch */ color: oklch(50.1% 0.159 286.6);
Tailwind
colors: {
  custom: {
    50: '#9381ce',
    500: '#604fb8',
    950: '#000000',
  },
}
SCSS
$custom: #604fb8;
$custom-light: #9381ce;
$custom-dark: #000000;
JSON
{
  "hex": "#604fb8",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 249.714,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.15927,
    "h": 286.6
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#604FB8
secondary
#C1C89A
accent
#D256BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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