#6064E6#6064E6

#6064E6 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.193 H 277.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6064E6
RGBrgb(96, 100, 230)
HSLhsl(238, 73%, 64%)
HSVhsv(238, 58%, 90%)
CMYKcmyk(58.3%, 56.5%, 0%, 9.8%)
CIE-LABlab(48.65, 35.86, -66.67)
CIE-LCHlch(48.65, 75.70, 298.27°)
OKLaboklab(57.17% 0.0237 -0.1914)
OKLCHoklch(57.17% 0.193 277.1)
XYZxyz(23.6594, 17.3126, 76.9425)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064E6 #E6E260
analogous
#60A7E6 #6064E6 #9F60E6
triadic
#6064E6 #E66064 #64E660
tetradic
#6064E6 #E660A7 #E6E260 #60E69F
square
#6064E6 #E660A7 #E6E260 #60E69F
split-complementary
#6064E6 #E69F60 #A7E660
monochromatic
#1C20B0 #2B30DE #6064E6 #9598EE #CACBF7

Accessibility & contrast

On white

4.71
#6064E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6064E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064E6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064E6#FFFFFF#000000##FFFFFF
##6064E61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6064e6;
/* rgb */ color: rgb(96, 100, 230);
/* oklch */ color: oklch(57.2% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#9990ef',
    500: '#6064e6',
    950: '#000000',
  },
}
SCSS
$custom: #6064e6;
$custom-light: #9990ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6064e6",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 238.209,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.19284,
    "h": 277.1
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#6064E6
secondary
#E8E7B9
accent
#CF11D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6064E6

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

Preview Lab → · Contrast checker → · Palette generator →

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