#6351EF#6351EF

#6351EF is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.226 H 281.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6351EF
RGBrgb(99, 81, 239)
HSLhsl(247, 83%, 63%)
HSVhsv(247, 66%, 94%)
CMYKcmyk(58.6%, 66.1%, 0%, 6.3%)
CIE-LABlab(45.31, 50.26, -77.17)
CIE-LCHlch(45.31, 92.09, 303.08°)
OKLaboklab(54.99% 0.0435 -0.2222)
OKLCHoklch(54.99% 0.226 281.1)
XYZxyz(23.6631, 14.7679, 83.2482)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351EF #DDEF51
analogous
#518EEF #6351EF #B251EF
triadic
#6351EF #EF6351 #51EF63
tetradic
#6351EF #EF518E #DDEF51 #51EFB2
square
#6351EF #EF518E #DDEF51 #51EFB2
split-complementary
#6351EF #EFB251 #8EEF51
monochromatic
#2311B5 #3119EA #6351EF #9589F4 #C7C1F9

Accessibility & contrast

On white

5.31
#6351EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6351EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351EF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351EF#FFFFFF#000000##FFFFFF
##6351EF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6351ef;
/* rgb */ color: rgb(99, 81, 239);
/* oklch */ color: oklch(55.0% 0.226 281.1);
Tailwind
colors: {
  custom: {
    50: '#9d83f5',
    500: '#6351ef',
    950: '#000000',
  },
}
SCSS
$custom: #6351ef;
$custom-light: #9d83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6351ef",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 246.835,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.22642,
    "h": 281.1
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#6351EF
secondary
#E4EAB1
accent
#E006C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6351EF

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

Preview Lab → · Contrast checker → · Palette generator →

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