#6064E3#6064E3

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

Color values

HEX#6064E3
RGBrgb(96, 100, 227)
HSLhsl(238, 70%, 63%)
HSVhsv(238, 58%, 89%)
CMYKcmyk(57.7%, 55.9%, 0%, 11%)
CIE-LABlab(48.44, 34.89, -65.32)
CIE-LCHlch(48.44, 74.06, 298.11°)
OKLaboklab(56.95% 0.0237 -0.1874)
OKLCHoklch(56.95% 0.189 277.2)
XYZxyz(23.2417, 17.1455, 74.7428)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064E3 #E3DF60
analogous
#60A5E3 #6064E3 #9D60E3
triadic
#6064E3 #E36064 #64E360
tetradic
#6064E3 #E360A5 #E3DF60 #60E39D
square
#6064E3 #E360A5 #E3DF60 #60E39D
split-complementary
#6064E3 #E39D60 #A5E360
monochromatic
#1E22AB #2C31DA #6064E3 #9497EC #C8C9F5

Accessibility & contrast

On white

4.74
#6064E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6064E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064E3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064E3#FFFFFF#000000##FFFFFF
##6064E31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6064e3;
/* rgb */ color: rgb(96, 100, 227);
/* oklch */ color: oklch(56.9% 0.189 277.2);
Tailwind
colors: {
  custom: {
    50: '#9890ed',
    500: '#6064e3',
    950: '#000000',
  },
}
SCSS
$custom: #6064e3;
$custom-light: #9890ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6064e3",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 227
  },
  "hsl": {
    "h": 238.168,
    "s": 70.053,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.18887,
    "h": 277.2
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#6064E3
secondary
#E7E5B8
accent
#CC13D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6064E3

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

Preview Lab → · Contrast checker → · Palette generator →

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