#6354CB#6354CB

#6354CB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.177 H 284.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6354CB
RGBrgb(99, 84, 203)
HSLhsl(248, 53%, 56%)
HSVhsv(248, 59%, 80%)
CMYKcmyk(51.2%, 58.6%, 0%, 20.4%)
CIE-LABlab(43.22, 37.58, -60.07)
CIE-LCHlch(43.22, 70.86, 302.03°)
OKLaboklab(52.6% 0.0436 -0.172)
OKLCHoklch(52.6% 0.177 284.2)
XYZxyz(19.0922, 13.3041, 58.0503)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354CB #BCCB54
analogous
#5481CB #6354CB #9F54CB
triadic
#6354CB #CB6354 #54CB63
tetradic
#6354CB #CB5481 #BCCB54 #54CB9F
square
#6354CB #CB5481 #BCCB54 #54CB9F
split-complementary
#6354CB #CB9F54 #81CB54
monochromatic
#31267E #4435AD #6354CB #8E83D9 #B9B2E8

Accessibility & contrast

On white

5.74
#6354CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6354CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354CB#FFFFFF#000000##FFFFFF
##6354CB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#3B7087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6354cb;
/* rgb */ color: rgb(99, 84, 203);
/* oklch */ color: oklch(52.6% 0.177 284.2);
Tailwind
colors: {
  custom: {
    50: '#9785dc',
    500: '#6354cb',
    950: '#000000',
  },
}
SCSS
$custom: #6354cb;
$custom-light: #9785dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6354cb",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 247.563,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.17741,
    "h": 284.2
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#6354CB
secondary
#D0D6A5
accent
#DD4BCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6354CB

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

Preview Lab → · Contrast checker → · Palette generator →

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