#6462BC#6462BC

#6462BC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.137 H 281.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6462BC
RGBrgb(100, 98, 188)
HSLhsl(241, 40%, 56%)
HSVhsv(241, 48%, 74%)
CMYKcmyk(46.8%, 47.9%, 0%, 26.3%)
CIE-LABlab(45.74, 24.69, -47.33)
CIE-LCHlch(45.74, 53.39, 297.55°)
OKLaboklab(54.19% 0.0281 -0.1344)
OKLCHoklch(54.19% 0.137 281.8)
XYZxyz(18.6976, 15.0746, 49.4917)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6462BC #BABC62
analogous
#628DBC #6462BC #9162BC
triadic
#6462BC #BC6462 #62BC64
tetradic
#6462BC #BC628D #BABC62 #62BC91
square
#6462BC #BC628D #BABC62 #62BC91
split-complementary
#6462BC #BC9162 #8DBC62
monochromatic
#323173 #45439E #6462BC #8E8DCE #B9B8E1

Accessibility & contrast

On white

5.23
#6462BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6462BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6462BC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6462BC#FFFFFF#000000##FFFFFF
##6462BC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#467586
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6462bc;
/* rgb */ color: rgb(100, 98, 188);
/* oklch */ color: oklch(54.2% 0.137 281.8);
Tailwind
colors: {
  custom: {
    50: '#958ed1',
    500: '#6462bc',
    950: '#000000',
  },
}
SCSS
$custom: #6462bc;
$custom-light: #958ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6462bc",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 241.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.13731,
    "h": 281.8
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#6462BC
secondary
#CFCFAA
accent
#D058CD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6462BC

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

Preview Lab → · Contrast checker → · Palette generator →

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