#6456CB#6456CB

#6456CB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.175 H 284.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6456CB
RGBrgb(100, 86, 203)
HSLhsl(247, 53%, 57%)
HSVhsv(247, 58%, 80%)
CMYKcmyk(50.7%, 57.6%, 0%, 20.4%)
CIE-LABlab(43.76, 36.58, -59.18)
CIE-LCHlch(43.76, 69.58, 301.72°)
OKLaboklab(53.03% 0.0427 -0.1693)
OKLCHoklch(53.03% 0.175 284.2)
XYZxyz(19.3596, 13.6757, 58.1079)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456CB #BDCB56
analogous
#5683CB #6456CB #9E56CB
triadic
#6456CB #CB6456 #56CB64
tetradic
#6456CB #CB5683 #BDCB56 #56CB9E
square
#6456CB #CB5683 #BDCB56 #56CB9E
split-complementary
#6456CB #CB9E56 #83CB56
monochromatic
#32277F #4436AE #6456CB #8F85D9 #BAB4E8

Accessibility & contrast

On white

5.62
#6456CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6456CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456CB#FFFFFF#000000##FFFFFF
##6456CB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#3D7188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6456cb;
/* rgb */ color: rgb(100, 86, 203);
/* oklch */ color: oklch(53.0% 0.175 284.2);
Tailwind
colors: {
  custom: {
    50: '#9886dc',
    500: '#6456cb',
    950: '#000000',
  },
}
SCSS
$custom: #6456cb;
$custom-light: #9886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6456cb",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 247.179,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.17462,
    "h": 284.2
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#6456CB
secondary
#D1D6A6
accent
#DC4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6456CB

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

Preview Lab → · Contrast checker → · Palette generator →

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