#6354DB#6354DB

#6354DB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.198 H 282.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6354DB
RGBrgb(99, 84, 219)
HSLhsl(247, 65%, 59%)
HSVhsv(247, 62%, 86%)
CMYKcmyk(54.8%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.39, 42.46, -67.36)
CIE-LCHlch(44.39, 79.62, 302.23°)
OKLaboklab(53.83% 0.0429 -0.1934)
OKLCHoklch(53.83% 0.198 282.5)
XYZxyz(21.0982, 14.1065, 68.6152)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354DB #CCDB54
analogous
#5489DB #6354DB #A754DB
triadic
#6354DB #DB6354 #54DB63
tetradic
#6354DB #DB5489 #CCDB54 #54DBA7
square
#6354DB #DB5489 #CCDB54 #54DBA7
split-complementary
#6354DB #DBA754 #89DB54
monochromatic
#2C1F95 #3C2AC8 #6354DB #9187E6 #BFB9F0

Accessibility & contrast

On white

5.50
#6354DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6354DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354DB#FFFFFF#000000##FFFFFF
##6354DB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#2A7590
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6354db;
/* rgb */ color: rgb(99, 84, 219);
/* oklch */ color: oklch(53.8% 0.198 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a85e7',
    500: '#6354db',
    950: '#000000',
  },
}
SCSS
$custom: #6354db;
$custom-light: #9a85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6354db",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 246.667,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.19807,
    "h": 282.5
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#6354DB
secondary
#DAE0AB
accent
#E840D5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6354DB

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

Preview Lab → · Contrast checker → · Palette generator →

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