#6354E8#6354E8

#6354E8 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.214 H 281.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6354E8
RGBrgb(99, 84, 232)
HSLhsl(246, 76%, 62%)
HSVhsv(246, 64%, 91%)
CMYKcmyk(57.3%, 63.8%, 0%, 9%)
CIE-LABlab(45.38, 46.44, -73.11)
CIE-LCHlch(45.38, 86.61, 302.42°)
OKLaboklab(54.87% 0.0418 -0.2103)
OKLCHoklch(54.87% 0.214 281.2)
XYZxyz(22.8769, 14.8180, 77.9829)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354E8 #D9E854
analogous
#548FE8 #6354E8 #AD54E8
triadic
#6354E8 #E86354 #54E863
tetradic
#6354E8 #E8548F #D9E854 #54E8AD
square
#6354E8 #E8548F #D9E854 #54E8AD
split-complementary
#6354E8 #E8AD54 #8FE854
monochromatic
#2617AB #321EE1 #6354E8 #948AEF #C5C0F7

Accessibility & contrast

On white

5.30
#6354E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6354E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354E8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354E8#FFFFFF#000000##FFFFFF
##6354E81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#117996
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6354e8;
/* rgb */ color: rgb(99, 84, 232);
/* oklch */ color: oklch(54.9% 0.214 281.2);
Tailwind
colors: {
  custom: {
    50: '#9c85f0',
    500: '#6354e8',
    950: '#000000',
  },
}
SCSS
$custom: #6354e8;
$custom-light: #9c85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6354e8",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 246.081,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.21439,
    "h": 281.2
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#6354E8
secondary
#E2E7B1
accent
#D80DC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6354E8

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

Preview Lab → · Contrast checker → · Palette generator →

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