#604FBA#604FBA

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

Color values

HEX#604FBA
RGBrgb(96, 79, 186)
HSLhsl(250, 44%, 52%)
HSVhsv(250, 58%, 73%)
CMYKcmyk(48.4%, 57.5%, 0%, 27.1%)
CIE-LABlab(40.61, 34.80, -54.42)
CIE-LCHlch(40.61, 64.59, 302.60°)
OKLaboklab(50.24% 0.0454 -0.1554)
OKLCHoklch(50.24% 0.162 286.3)
XYZxyz(16.4802, 11.6232, 47.8200)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FBA #A9BA4F
analogous
#4F74BA #604FBA #964FBA
triadic
#604FBA #BA604F #4FBA60
tetradic
#604FBA #BA4F74 #A9BA4F #4FBA96
square
#604FBA #BA4F74 #A9BA4F #4FBA96
split-complementary
#604FBA #BA964F #74BA4F
monochromatic
#322866 #483992 #604FBA #887BCB #AFA7DC

Accessibility & contrast

On white

6.32
#604FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604FBA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FBA#FFFFFF#000000##FFFFFF
##604FBA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#41677D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604fba;
/* rgb */ color: rgb(96, 79, 186);
/* oklch */ color: oklch(50.2% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#9481cf',
    500: '#604fba',
    950: '#000000',
  },
}
SCSS
$custom: #604fba;
$custom-light: #9481cf;
$custom-dark: #000000;
JSON
{
  "hex": "#604fba",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 249.533,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.16196,
    "h": 286.3
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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