#6354E2#6354E2

#6354E2 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.4% C 0.207 H 281.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6354E2
RGBrgb(99, 84, 226)
HSLhsl(246, 71%, 61%)
HSVhsv(246, 63%, 89%)
CMYKcmyk(56.2%, 62.8%, 0%, 11.4%)
CIE-LABlab(44.92, 44.60, -70.47)
CIE-LCHlch(44.92, 83.40, 302.33°)
OKLaboklab(54.38% 0.0423 -0.2025)
OKLCHoklch(54.38% 0.207 281.8)
XYZxyz(22.0391, 14.4829, 73.5709)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354E2 #D3E254
analogous
#548CE2 #6354E2 #AA54E2
triadic
#6354E2 #E26354 #54E263
tetradic
#6354E2 #E2548C #D3E254 #54E2AA
square
#6354E2 #E2548C #D3E254 #54E2AA
split-complementary
#6354E2 #E2AA54 #8CE254
monochromatic
#291BA0 #3724D5 #6354E2 #9388EB #C2BDF4

Accessibility & contrast

On white

5.39
#6354E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6354E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354E2#FFFFFF#000000##FFFFFF
##6354E21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#1F7793
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6354e2;
/* rgb */ color: rgb(99, 84, 226);
/* oklch */ color: oklch(54.4% 0.207 281.8);
Tailwind
colors: {
  custom: {
    50: '#9b85ec',
    500: '#6354e2',
    950: '#000000',
  },
}
SCSS
$custom: #6354e2;
$custom-light: #9b85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6354e2",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 246.338,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.20692,
    "h": 281.8
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#6354E2
secondary
#DEE4AE
accent
#D312BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6354E2

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

Preview Lab → · Contrast checker → · Palette generator →

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