#6064E1#6064E1

#6064E1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.8% C 0.186 H 277.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6064E1
RGBrgb(96, 100, 225)
HSLhsl(238, 68%, 63%)
HSVhsv(238, 57%, 88%)
CMYKcmyk(57.3%, 55.6%, 0%, 11.8%)
CIE-LABlab(48.30, 34.25, -64.41)
CIE-LCHlch(48.30, 72.95, 298.00°)
OKLaboklab(56.8% 0.0237 -0.1847)
OKLCHoklch(56.8% 0.186 277.3)
XYZxyz(22.9673, 17.0357, 73.2975)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064E1 #E1DD60
analogous
#60A4E1 #6064E1 #9D60E1
triadic
#6064E1 #E16064 #64E160
tetradic
#6064E1 #E160A4 #E1DD60 #60E19D
square
#6064E1 #E160A4 #E1DD60 #60E19D
split-complementary
#6064E1 #E19D60 #A4E160
monochromatic
#2024A7 #2D32D7 #6064E1 #9396EB #C7C8F4

Accessibility & contrast

On white

4.76
#6064E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6064E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064E1#FFFFFF#000000##FFFFFF
##6064E11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#088199
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6064e1;
/* rgb */ color: rgb(96, 100, 225);
/* oklch */ color: oklch(56.8% 0.186 277.3);
Tailwind
colors: {
  custom: {
    50: '#9890eb',
    500: '#6064e1',
    950: '#000000',
  },
}
SCSS
$custom: #6064e1;
$custom-light: #9890eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6064e1",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 238.14,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.568,
    "c": 0.18622,
    "h": 277.3
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#6064E1
secondary
#E6E4B7
accent
#CA15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6064E1

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

Preview Lab → · Contrast checker → · Palette generator →

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