#6064BC#6064BC

#6064BC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.3% C 0.135 H 278.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6064BC
RGBrgb(96, 100, 188)
HSLhsl(237, 41%, 56%)
HSVhsv(237, 49%, 74%)
CMYKcmyk(48.9%, 46.8%, 0%, 26.3%)
CIE-LABlab(45.95, 22.51, -47.01)
CIE-LCHlch(45.95, 52.12, 295.59°)
OKLaboklab(54.28% 0.021 -0.1336)
OKLCHoklch(54.28% 0.135 278.9)
XYZxyz(18.4554, 15.2310, 49.5346)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064BC #BCB860
analogous
#6092BC #6064BC #8A60BC
triadic
#6064BC #BC6064 #64BC60
tetradic
#6064BC #BC6092 #BCB860 #60BC8A
square
#6064BC #BC6092 #BCB860 #60BC8A
split-complementary
#6064BC #BC8A60 #92BC60
monochromatic
#303372 #42469D #6064BC #8B8ECE #B6B8E0

Accessibility & contrast

On white

5.19
#6064BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6064BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064BC#FFFFFF#000000##FFFFFF
##6064BC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#3D7787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6064bc;
/* rgb */ color: rgb(96, 100, 188);
/* oklch */ color: oklch(54.3% 0.135 278.9);
Tailwind
colors: {
  custom: {
    50: '#9390d1',
    500: '#6064bc',
    950: '#000000',
  },
}
SCSS
$custom: #6064bc;
$custom-light: #9390d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6064bc",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 237.391,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.13519,
    "h": 278.9
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#6064BC
secondary
#CFCDA9
accent
#CB57D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #6064BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6064BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva