#6354EA#6354EA

#6354EA is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.217 H 281.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6354EA
RGBrgb(99, 84, 234)
HSLhsl(246, 78%, 62%)
HSVhsv(246, 64%, 92%)
CMYKcmyk(57.7%, 64.1%, 0%, 8.2%)
CIE-LABlab(45.54, 47.05, -73.98)
CIE-LCHlch(45.54, 87.67, 302.45°)
OKLaboklab(55.03% 0.0416 -0.2128)
OKLCHoklch(55.03% 0.217 281.1)
XYZxyz(23.1625, 14.9322, 79.4876)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354EA #DBEA54
analogous
#5490EA #6354EA #AE54EA
triadic
#6354EA #EA6354 #54EA63
tetradic
#6354EA #EA5490 #DBEA54 #54EAAE
square
#6354EA #EA5490 #DBEA54 #54EAAE
split-complementary
#6354EA #EAAE54 #90EA54
monochromatic
#2515AE #311DE3 #6354EA #958BF1 #C6C1F7

Accessibility & contrast

On white

5.27
#6354EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6354EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354EA#FFFFFF#000000##FFFFFF
##6354EA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#097A98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6354ea;
/* rgb */ color: rgb(99, 84, 234);
/* oklch */ color: oklch(55.0% 0.217 281.1);
Tailwind
colors: {
  custom: {
    50: '#9c85f2',
    500: '#6354ea',
    950: '#000000',
  },
}
SCSS
$custom: #6354ea;
$custom-light: #9c85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6354ea",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 246,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55031,
    "c": 0.21687,
    "h": 281.1
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#6354EA
secondary
#E3E8B2
accent
#DA0BC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6354EA

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

Preview Lab → · Contrast checker → · Palette generator →

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