#6354C8#6354C8

#6354C8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.173 H 284.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6354C8
RGBrgb(99, 84, 200)
HSLhsl(248, 51%, 56%)
HSVhsv(248, 58%, 78%)
CMYKcmyk(50.5%, 58%, 0%, 21.6%)
CIE-LABlab(43.01, 36.66, -58.68)
CIE-LCHlch(43.01, 69.19, 302.00°)
OKLaboklab(52.38% 0.0436 -0.1679)
OKLCHoklch(52.38% 0.173 284.6)
XYZxyz(18.7381, 13.1625, 56.1856)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354C8 #B9C854
analogous
#547FC8 #6354C8 #9D54C8
triadic
#6354C8 #C86354 #54C863
tetradic
#6354C8 #C8547F #B9C854 #54C89D
square
#6354C8 #C8547F #B9C854 #54C89D
split-complementary
#6354C8 #C89D54 #7FC854
monochromatic
#32277A #4536A9 #6354C8 #8D82D7 #B7B1E6

Accessibility & contrast

On white

5.78
#6354C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6354C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354C8#FFFFFF#000000##FFFFFF
##6354C81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#3D6F86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6354c8;
/* rgb */ color: rgb(99, 84, 200);
/* oklch */ color: oklch(52.4% 0.173 284.6);
Tailwind
colors: {
  custom: {
    50: '#9784d9',
    500: '#6354c8',
    950: '#000000',
  },
}
SCSS
$custom: #6354c8;
$custom-light: #9784d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6354c8",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 247.759,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52382,
    "c": 0.17345,
    "h": 284.6
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#6354C8
secondary
#CED4A4
accent
#DB4DC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6354C8

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

Preview Lab → · Contrast checker → · Palette generator →

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