#6064C8#6064C8

#6064C8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.1% C 0.152 H 278.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6064C8
RGBrgb(96, 100, 200)
HSLhsl(238, 49%, 58%)
HSVhsv(238, 52%, 78%)
CMYKcmyk(52%, 50%, 0%, 21.6%)
CIE-LABlab(46.67, 26.28, -52.79)
CIE-LCHlch(46.67, 58.97, 296.47°)
OKLaboklab(55.06% 0.0223 -0.1505)
OKLCHoklch(55.06% 0.152 278.4)
XYZxyz(19.8031, 15.7701, 56.6328)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064C8 #C8C460
analogous
#6098C8 #6064C8 #9060C8
triadic
#6064C8 #C86064 #64C860
tetradic
#6064C8 #C86098 #C8C460 #60C890
square
#6064C8 #C86098 #C8C460 #60C890
split-complementary
#6064C8 #C89060 #98C860
monochromatic
#2D3081 #3C41AE #6064C8 #8D90D8 #BBBDE7

Accessibility & contrast

On white

5.06
#6064C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6064C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6064C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064C8#FFFFFF#000000##FFFFFF
##6064C81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#347A8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6064c8;
/* rgb */ color: rgb(96, 100, 200);
/* oklch */ color: oklch(55.1% 0.152 278.4);
Tailwind
colors: {
  custom: {
    50: '#9490d9',
    500: '#6064c8',
    950: '#000000',
  },
}
SCSS
$custom: #6064c8;
$custom-light: #9490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6064c8",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 237.692,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.15216,
    "h": 278.4
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#6064C8
secondary
#D7D5AD
accent
#D350D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6064C8

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

Preview Lab → · Contrast checker → · Palette generator →

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