#6456BB#6456BB

#6456BB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.153 H 286.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6456BB
RGBrgb(100, 86, 187)
HSLhsl(248, 43%, 54%)
HSVhsv(248, 54%, 73%)
CMYKcmyk(46.5%, 54%, 0%, 26.7%)
CIE-LABlab(42.69, 31.74, -51.63)
CIE-LCHlch(42.69, 60.61, 301.58°)
OKLaboklab(51.89% 0.0425 -0.1471)
OKLCHoklch(51.89% 0.153 286.1)
XYZxyz(17.5503, 12.9520, 48.5793)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456BB #ADBB56
analogous
#567ABB #6456BB #9656BB
triadic
#6456BB #BB6456 #56BB64
tetradic
#6456BB #BB567A #ADBB56 #56BB96
square
#6456BB #BB567A #ADBB56 #56BB96
split-complementary
#6456BB #BB9656 #7ABB56
monochromatic
#342B6B #493D97 #6456BB #8C82CD #B4ADDE

Accessibility & contrast

On white

5.85
#6456BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6456BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456BB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456BB#FFFFFF#000000##FFFFFF
##6456BB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BE
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#486C80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6456bb;
/* rgb */ color: rgb(100, 86, 187);
/* oklch */ color: oklch(51.9% 0.153 286.1);
Tailwind
colors: {
  custom: {
    50: '#9686d0',
    500: '#6456bb',
    950: '#000000',
  },
}
SCSS
$custom: #6456bb;
$custom-light: #9686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6456bb",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 248.317,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.15312,
    "h": 286.1
  },
  "luminance": 0.12953
}

Semantic roles & 50–950 ramp

primary
#6456BB
secondary
#C6CCA1
accent
#D255C1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6456BB

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

Preview Lab → · Contrast checker → · Palette generator →

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