#6354EF#6354EF

#6354EF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.223 H 280.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6354EF
RGBrgb(99, 84, 239)
HSLhsl(246, 83%, 63%)
HSVhsv(246, 65%, 94%)
CMYKcmyk(58.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.94, 48.57, -76.15)
CIE-LCHlch(45.94, 90.32, 302.53°)
OKLaboklab(55.44% 0.0411 -0.2192)
OKLCHoklch(55.44% 0.223 280.6)
XYZxyz(23.8910, 15.2236, 83.3241)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6354EF #E0EF54
analogous
#5493EF #6354EF #B054EF
triadic
#6354EF #EF6354 #54EF63
tetradic
#6354EF #EF5493 #E0EF54 #54EFB0
square
#6354EF #EF5493 #E0EF54 #54EFB0
split-complementary
#6354EF #EFB054 #93EF54
monochromatic
#2111B7 #301CEA #6354EF #968CF4 #C9C4F9

Accessibility & contrast

On white

5.19
#6354EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6354EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6354EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6354EF#FFFFFF#000000##FFFFFF
##6354EF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6354ef;
/* rgb */ color: rgb(99, 84, 239);
/* oklch */ color: oklch(55.4% 0.223 280.6);
Tailwind
colors: {
  custom: {
    50: '#9d85f5',
    500: '#6354ef',
    950: '#000000',
  },
}
SCSS
$custom: #6354ef;
$custom-light: #9d85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6354ef",
  "rgb": {
    "r": 99,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 245.806,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.22302,
    "h": 280.6
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#6354EF
secondary
#E6EBB4
accent
#DF06CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6354EF

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

Preview Lab → · Contrast checker → · Palette generator →

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