#6351CA#6351CA

#6351CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.180 H 285.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6351CA
RGBrgb(99, 81, 202)
HSLhsl(249, 53%, 55%)
HSVhsv(249, 60%, 79%)
CMYKcmyk(51%, 59.9%, 0%, 20.8%)
CIE-LABlab(42.46, 39.05, -60.72)
CIE-LCHlch(42.46, 72.20, 302.75°)
OKLaboklab(52.03% 0.0468 -0.1739)
OKLCHoklch(52.03% 0.18 285.1)
XYZxyz(18.7455, 12.8008, 57.3487)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351CA #B8CA51
analogous
#517BCA #6351CA #A051CA
triadic
#6351CA #CA6351 #51CA63
tetradic
#6351CA #CA517B #B8CA51 #51CAA0
square
#6351CA #CA517B #B8CA51 #51CAA0
split-complementary
#6351CA #CAA051 #7BCA51
monochromatic
#32257B #4534AA #6351CA #8D80D8 #B7AFE7

Accessibility & contrast

On white

5.90
#6351CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6351CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351CA#FFFFFF#000000##FFFFFF
##6351CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#3C6D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6351ca;
/* rgb */ color: rgb(99, 81, 202);
/* oklch */ color: oklch(52.0% 0.180 285.1);
Tailwind
colors: {
  custom: {
    50: '#9782db',
    500: '#6351ca',
    950: '#000000',
  },
}
SCSS
$custom: #6351ca;
$custom-light: #9782db;
$custom-dark: #000000;
JSON
{
  "hex": "#6351ca",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 248.926,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.18007,
    "h": 285.1
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#6351CA
secondary
#CDD5A2
accent
#DD4BC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6351CA

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

Preview Lab → · Contrast checker → · Palette generator →

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