#6354E5#6354E5

#6354E5 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.211 H 281.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6354E5
RGBrgb(99, 84, 229)
HSLhsl(246, 74%, 61%)
HSVhsv(246, 63%, 90%)
CMYKcmyk(56.8%, 63.3%, 0%, 10.2%)
CIE-LABlab(45.15, 45.52, -71.79)
CIE-LCHlch(45.15, 85.01, 302.38°)
OKLaboklab(54.62% 0.0421 -0.2064)
OKLCHoklch(54.62% 0.211 281.5)
XYZxyz(22.4544, 14.6490, 75.7579)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354E5 #D6E554
analogous
#548EE5 #6354E5 #AC54E5
triadic
#6354E5 #E56354 #54E563
tetradic
#6354E5 #E5548E #D6E554 #54E5AC
square
#6354E5 #E5548E #D6E554 #54E5AC
split-complementary
#6354E5 #E5AC54 #8EE554
monochromatic
#2819A5 #3421DB #6354E5 #9389ED #C4BEF5

Accessibility & contrast

On white

5.34
#6354E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6354E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354E5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354E5#FFFFFF#000000##FFFFFF
##6354E51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#197895
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6354e5;
/* rgb */ color: rgb(99, 84, 229);
/* oklch */ color: oklch(54.6% 0.211 281.5);
Tailwind
colors: {
  custom: {
    50: '#9b85ee',
    500: '#6354e5',
    950: '#000000',
  },
}
SCSS
$custom: #6354e5;
$custom-light: #9b85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6354e5",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 246.207,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.21067,
    "h": 281.5
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#6354E5
secondary
#E0E6AF
accent
#D610C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6354E5

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

Preview Lab → · Contrast checker → · Palette generator →

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