#6462EC#6462EC

#6462EC is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.5% C 0.202 H 278.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6462EC
RGBrgb(100, 98, 236)
HSLhsl(241, 78%, 65%)
HSVhsv(241, 58%, 93%)
CMYKcmyk(57.6%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.88, 39.66, -69.66)
CIE-LCHlch(48.88, 80.16, 299.65°)
OKLaboklab(57.54% 0.0302 -0.2001)
OKLCHoklch(57.54% 0.202 278.6)
XYZxyz(24.7587, 17.4991, 81.4136)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6462EC #EAEC62
analogous
#62A5EC #6462EC #A962EC
triadic
#6462EC #EC6462 #62EC64
tetradic
#6462EC #EC62A5 #EAEC62 #62ECA9
square
#6462EC #EC62A5 #EAEC62 #62ECA9
split-complementary
#6462EC #ECA962 #A5EC62
monochromatic
#1917BD #2E2BE5 #6462EC #9A99F3 #D0CFF9

Accessibility & contrast

On white

4.67
#6462EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6462EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6462EC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6462EC#FFFFFF#000000##FFFFFF
##6462EC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#02839E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6462ec;
/* rgb */ color: rgb(100, 98, 236);
/* oklch */ color: oklch(57.5% 0.202 278.6);
Tailwind
colors: {
  custom: {
    50: '#9c8ff3',
    500: '#6462ec',
    950: '#000000',
  },
}
SCSS
$custom: #6462ec;
$custom-light: #9c8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6462ec",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 240.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.20233,
    "h": 278.6
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#6462EC
secondary
#EBECBE
accent
#DB0BD8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6462EC

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

Preview Lab → · Contrast checker → · Palette generator →

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