#6064E8#6064E8

#6064E8 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.3% C 0.195 H 277.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6064E8
RGBrgb(96, 100, 232)
HSLhsl(238, 75%, 64%)
HSVhsv(238, 59%, 91%)
CMYKcmyk(58.6%, 56.9%, 0%, 9%)
CIE-LABlab(48.79, 36.50, -67.57)
CIE-LCHlch(48.79, 76.80, 298.38°)
OKLaboklab(57.32% 0.0238 -0.194)
OKLCHoklch(57.32% 0.195 277)
XYZxyz(23.9418, 17.4256, 78.4301)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064E8 #E8E460
analogous
#60A8E8 #6064E8 #A060E8
triadic
#6064E8 #E86064 #64E860
tetradic
#6064E8 #E860A8 #E8E460 #60E8A0
square
#6064E8 #E860A8 #E8E460 #60E8A0
split-complementary
#6064E8 #E8A060 #A8E860
monochromatic
#1A1FB4 #2B30E0 #6064E8 #9598F0 #CBCCF7

Accessibility & contrast

On white

4.68
#6064E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6064E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064E8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064E8#FFFFFF#000000##FFFFFF
##6064E81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6064e8;
/* rgb */ color: rgb(96, 100, 232);
/* oklch */ color: oklch(57.3% 0.195 277.0);
Tailwind
colors: {
  custom: {
    50: '#9990f0',
    500: '#6064e8',
    950: '#000000',
  },
}
SCSS
$custom: #6064e8;
$custom-light: #9990f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6064e8",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 232
  },
  "hsl": {
    "h": 238.235,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.19546,
    "h": 277
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#6064E8
secondary
#E9E8BA
accent
#D10FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6064E8

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

Preview Lab → · Contrast checker → · Palette generator →

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