#6456AF#6456AF

#6456AF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.137 H 287.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6456AF
RGBrgb(100, 86, 175)
HSLhsl(249, 36%, 51%)
HSVhsv(249, 51%, 69%)
CMYKcmyk(42.9%, 50.9%, 0%, 31.4%)
CIE-LABlab(41.94, 28.17, -45.81)
CIE-LCHlch(41.94, 53.77, 301.59°)
OKLaboklab(51.09% 0.0417 -0.13)
OKLCHoklch(51.09% 0.137 287.8)
XYZxyz(16.3190, 12.4595, 42.0942)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456AF #A1AF56
analogous
#5674AF #6456AF #9056AF
triadic
#6456AF #AF6456 #56AF64
tetradic
#6456AF #AF5674 #A1AF56 #56AF90
square
#6456AF #AF5674 #A1AF56 #56AF90
split-complementary
#6456AF #AF9056 #74AF56
monochromatic
#342D5E #4B4088 #6456AF #8A80C3 #B0A9D6

Accessibility & contrast

On white

6.01
#6456AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6456AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456AF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456AF#FFFFFF#000000##FFFFFF
##6456AF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#4E697A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6456af;
/* rgb */ color: rgb(100, 86, 175);
/* oklch */ color: oklch(51.1% 0.137 287.8);
Tailwind
colors: {
  custom: {
    50: '#9486c7',
    500: '#6456af',
    950: '#000000',
  },
}
SCSS
$custom: #6456af;
$custom-light: #9486c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6456af",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 249.438,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.13652,
    "h": 287.8
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#6456AF
secondary
#BEC49D
accent
#CC5CBA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6456AF

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

Preview Lab → · Contrast checker → · Palette generator →

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