#6354ED#6354ED

#6354ED is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.221 H 280.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6354ED
RGBrgb(99, 84, 237)
HSLhsl(246, 81%, 63%)
HSVhsv(246, 65%, 93%)
CMYKcmyk(58.2%, 64.6%, 0%, 7.1%)
CIE-LABlab(45.78, 47.96, -75.28)
CIE-LCHlch(45.78, 89.26, 302.50°)
OKLaboklab(55.28% 0.0413 -0.2167)
OKLCHoklch(55.28% 0.221 280.8)
XYZxyz(23.5972, 15.1061, 81.7766)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354ED #DEED54
analogous
#5492ED #6354ED #AF54ED
triadic
#6354ED #ED6354 #54ED63
tetradic
#6354ED #ED5492 #DEED54 #54EDAF
square
#6354ED #ED5492 #DEED54 #54EDAF
split-complementary
#6354ED #EDAF54 #92ED54
monochromatic
#2313B4 #301DE7 #6354ED #968BF3 #C8C3F9

Accessibility & contrast

On white

5.22
#6354ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6354ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354ED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354ED#FFFFFF#000000##FFFFFF
##6354ED1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6354ed;
/* rgb */ color: rgb(99, 84, 237);
/* oklch */ color: oklch(55.3% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#9c85f4',
    500: '#6354ed',
    950: '#000000',
  },
}
SCSS
$custom: #6354ed;
$custom-light: #9c85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6354ed",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 245.882,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.22056,
    "h": 280.8
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#6354ED
secondary
#E5EAB3
accent
#DD08C8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6354ED

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

Preview Lab → · Contrast checker → · Palette generator →

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