#6354E4#6354E4

#6354E4 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.209 H 281.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6354E4
RGBrgb(99, 84, 228)
HSLhsl(246, 73%, 61%)
HSVhsv(246, 63%, 89%)
CMYKcmyk(56.6%, 63.2%, 0%, 10.6%)
CIE-LABlab(45.07, 45.21, -71.35)
CIE-LCHlch(45.07, 84.47, 302.36°)
OKLaboklab(54.54% 0.0422 -0.2051)
OKLCHoklch(54.54% 0.209 281.6)
XYZxyz(22.3151, 14.5933, 75.0246)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354E4 #D5E454
analogous
#548DE4 #6354E4 #AB54E4
triadic
#6354E4 #E46354 #54E463
tetradic
#6354E4 #E4548D #D5E454 #54E4AB
square
#6354E4 #E4548D #D5E454 #54E4AB
split-complementary
#6354E4 #E4AB54 #8DE454
monochromatic
#281AA4 #3522D9 #6354E4 #9389EC #C3BEF5

Accessibility & contrast

On white

5.36
#6354E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6354E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354E4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354E4#FFFFFF#000000##FFFFFF
##6354E41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#1B7894
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6354e4;
/* rgb */ color: rgb(99, 84, 228);
/* oklch */ color: oklch(54.5% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#9b85ee',
    500: '#6354e4',
    950: '#000000',
  },
}
SCSS
$custom: #6354e4;
$custom-light: #9b85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6354e4",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 246.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.20942,
    "h": 281.6
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#6354E4
secondary
#DFE5AF
accent
#D511C0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6354E4

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

Preview Lab → · Contrast checker → · Palette generator →

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