#604FBB#604FBB

#604FBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.163 H 286.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#604FBB
RGBrgb(96, 79, 187)
HSLhsl(249, 44%, 52%)
HSVhsv(249, 58%, 73%)
CMYKcmyk(48.7%, 57.8%, 0%, 26.7%)
CIE-LABlab(40.68, 35.10, -54.89)
CIE-LCHlch(40.68, 65.16, 302.60°)
OKLaboklab(50.31% 0.0454 -0.1568)
OKLCHoklch(50.31% 0.163 286.2)
XYZxyz(16.5869, 11.6659, 48.3818)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FBB #AABB4F
analogous
#4F74BB #604FBB #964FBB
triadic
#604FBB #BB604F #4FBB60
tetradic
#604FBB #BB4F74 #AABB4F #4FBB96
square
#604FBB #BB4F74 #AABB4F #4FBB96
split-complementary
#604FBB #BB964F #74BB4F
monochromatic
#322868 #473994 #604FBB #887BCC #B0A7DD

Accessibility & contrast

On white

6.30
#604FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#604FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FBB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FBB#FFFFFF#000000##FFFFFF
##604FBB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#40677D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604fbb;
/* rgb */ color: rgb(96, 79, 187);
/* oklch */ color: oklch(50.3% 0.163 286.2);
Tailwind
colors: {
  custom: {
    50: '#9481d0',
    500: '#604fbb',
    950: '#000000',
  },
}
SCSS
$custom: #604fbb;
$custom-light: #9481d0;
$custom-dark: #000000;
JSON
{
  "hex": "#604fbb",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 249.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.16329,
    "h": 286.2
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#604FBB
secondary
#C3CA9B
accent
#D454C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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