#6354EE#6354EE

#6354EE is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.222 H 280.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6354EE
RGBrgb(99, 84, 238)
HSLhsl(246, 82%, 63%)
HSVhsv(246, 65%, 93%)
CMYKcmyk(58.4%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.86, 48.27, -75.71)
CIE-LCHlch(45.86, 89.79, 302.52°)
OKLaboklab(55.36% 0.0412 -0.2179)
OKLCHoklch(55.36% 0.222 280.7)
XYZxyz(23.7437, 15.1647, 82.5482)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354EE #DFEE54
analogous
#5492EE #6354EE #B054EE
triadic
#6354EE #EE6354 #54EE63
tetradic
#6354EE #EE5492 #DFEE54 #54EEB0
square
#6354EE #EE5492 #DFEE54 #54EEB0
split-complementary
#6354EE #EEB054 #92EE54
monochromatic
#2212B6 #301CE8 #6354EE #968CF4 #C9C3F9

Accessibility & contrast

On white

5.21
#6354EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6354EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354EE#FFFFFF#000000##FFFFFF
##6354EE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0067EB
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6354ee;
/* rgb */ color: rgb(99, 84, 238);
/* oklch */ color: oklch(55.4% 0.222 280.7);
Tailwind
colors: {
  custom: {
    50: '#9d85f5',
    500: '#6354ee',
    950: '#000000',
  },
}
SCSS
$custom: #6354ee;
$custom-light: #9d85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6354ee",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 245.844,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.22179,
    "h": 280.7
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#6354EE
secondary
#E5EAB3
accent
#DE07C9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6354EE

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

Preview Lab → · Contrast checker → · Palette generator →

#6354EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva