#6462BA#6462BA

#6462BA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.134 H 281.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6462BA
RGBrgb(100, 98, 186)
HSLhsl(241, 39%, 56%)
HSVhsv(241, 47%, 73%)
CMYKcmyk(46.2%, 47.3%, 0%, 27.1%)
CIE-LABlab(45.62, 24.08, -46.36)
CIE-LCHlch(45.62, 52.24, 297.45°)
OKLaboklab(54.07% 0.0278 -0.1315)
OKLCHoklch(54.07% 0.134 281.9)
XYZxyz(18.4835, 14.9890, 48.3641)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6462BA #B8BA62
analogous
#628CBA #6462BA #9062BA
triadic
#6462BA #BA6462 #62BA64
tetradic
#6462BA #BA628C #B8BA62 #62BA90
square
#6462BA #BA628C #B8BA62 #62BA90
split-complementary
#6462BA #BA9062 #8CBA62
monochromatic
#333170 #46449B #6462BA #8E8DCD #B8B7DF

Accessibility & contrast

On white

5.25
#6462BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6462BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6462BA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6462BA#FFFFFF#000000##FFFFFF
##6462BA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBD
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#477485
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6462ba;
/* rgb */ color: rgb(100, 98, 186);
/* oklch */ color: oklch(54.1% 0.134 281.9);
Tailwind
colors: {
  custom: {
    50: '#958ecf',
    500: '#6462ba',
    950: '#000000',
  },
}
SCSS
$custom: #6462ba;
$custom-light: #958ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6462ba",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 241.364,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.13446,
    "h": 281.9
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#6462BA
secondary
#CDCEAA
accent
#CF59CC
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6462BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6462BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva