#604FBC#604FBC

#604FBC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.165 H 286.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#604FBC
RGBrgb(96, 79, 188)
HSLhsl(249, 45%, 52%)
HSVhsv(249, 58%, 74%)
CMYKcmyk(48.9%, 58%, 0%, 26.3%)
CIE-LABlab(40.75, 35.40, -55.37)
CIE-LCHlch(40.75, 65.72, 302.60°)
OKLaboklab(50.39% 0.0454 -0.1582)
OKLCHoklch(50.39% 0.165 286)
XYZxyz(16.6943, 11.7088, 48.9476)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FBC #ABBC4F
analogous
#4F74BC #604FBC #974FBC
triadic
#604FBC #BC604F #4FBC60
tetradic
#604FBC #BC4F74 #ABBC4F #4FBC97
square
#604FBC #BC4F74 #ABBC4F #4FBC97
split-complementary
#604FBC #BC974F #74BC4F
monochromatic
#322869 #473995 #604FBC #887BCD #B0A8DE

Accessibility & contrast

On white

6.28
#604FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#604FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FBC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FBC#FFFFFF#000000##FFFFFF
##604FBC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#40687E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604fbc;
/* rgb */ color: rgb(96, 79, 188);
/* oklch */ color: oklch(50.4% 0.165 286.0);
Tailwind
colors: {
  custom: {
    50: '#9481d1',
    500: '#604fbc',
    950: '#000000',
  },
}
SCSS
$custom: #604fbc;
$custom-light: #9481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#604fbc",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 249.358,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.16462,
    "h": 286
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#604FBC
secondary
#C4CB9C
accent
#D553C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #604FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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