#6064E2#6064E2

#6064E2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.9% C 0.188 H 277.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6064E2
RGBrgb(96, 100, 226)
HSLhsl(238, 69%, 63%)
HSVhsv(238, 58%, 89%)
CMYKcmyk(57.5%, 55.8%, 0%, 11.4%)
CIE-LABlab(48.37, 34.57, -64.87)
CIE-LCHlch(48.37, 73.50, 298.06°)
OKLaboklab(56.87% 0.0237 -0.186)
OKLCHoklch(56.87% 0.188 277.3)
XYZxyz(23.1041, 17.0905, 74.0181)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064E2 #E2DE60
analogous
#60A5E2 #6064E2 #9D60E2
triadic
#6064E2 #E26064 #64E260
tetradic
#6064E2 #E260A5 #E2DE60 #60E29D
square
#6064E2 #E260A5 #E2DE60 #60E29D
split-complementary
#6064E2 #E29D60 #A5E260
monochromatic
#1F23A9 #2C32D9 #6064E2 #9496EB #C8C9F5

Accessibility & contrast

On white

4.75
#6064E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6064E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064E2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064E2#FFFFFF#000000##FFFFFF
##6064E21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#048299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6064e2;
/* rgb */ color: rgb(96, 100, 226);
/* oklch */ color: oklch(56.9% 0.188 277.3);
Tailwind
colors: {
  custom: {
    50: '#9890ec',
    500: '#6064e2',
    950: '#000000',
  },
}
SCSS
$custom: #6064e2;
$custom-light: #9890ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6064e2",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 238.154,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.18755,
    "h": 277.3
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#6064E2
secondary
#E6E5B8
accent
#CB14D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6064E2

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

Preview Lab → · Contrast checker → · Palette generator →

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