#6064CE#6064CE

#6064CE is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.160 H 278.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6064CE
RGBrgb(96, 100, 206)
HSLhsl(238, 53%, 59%)
HSVhsv(238, 53%, 81%)
CMYKcmyk(53.4%, 51.5%, 0%, 19.2%)
CIE-LABlab(47.05, 28.18, -55.63)
CIE-LCHlch(47.05, 62.36, 296.87°)
OKLaboklab(55.46% 0.0228 -0.1589)
OKLCHoklch(55.46% 0.16 278.2)
XYZxyz(20.5181, 16.0561, 60.3985)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064CE #CECA60
analogous
#609BCE #6064CE #9360CE
triadic
#6064CE #CE6064 #64CE60
tetradic
#6064CE #CE609B #CECA60 #60CE93
square
#6064CE #CE609B #CECA60 #60CE93
split-complementary
#6064CE #CE9360 #9BCE60
monochromatic
#2A2E89 #393DB8 #6064CE #8F92DC #BEBFEB

Accessibility & contrast

On white

4.99
#6064CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6064CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064CE#FFFFFF#000000##FFFFFF
##6064CE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D2
Deuteranopia (green-blind)
#1C6BCC
Tritanopia (blue-blind)
#2D7C8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6064ce;
/* rgb */ color: rgb(96, 100, 206);
/* oklch */ color: oklch(55.5% 0.160 278.2);
Tailwind
colors: {
  custom: {
    50: '#9590de',
    500: '#6064ce',
    950: '#000000',
  },
}
SCSS
$custom: #6064ce;
$custom-light: #9590de;
$custom-dark: #000000;
JSON
{
  "hex": "#6064ce",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 237.818,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.16049,
    "h": 278.2
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#6064CE
secondary
#DAD9AF
accent
#D74CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6064CE

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

Preview Lab → · Contrast checker → · Palette generator →

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