#6456DB#6456DB

#6456DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.195 H 282.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6456DB
RGBrgb(100, 86, 219)
HSLhsl(246, 65%, 60%)
HSVhsv(246, 61%, 86%)
CMYKcmyk(54.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.91, 41.47, -66.50)
CIE-LCHlch(44.91, 78.37, 301.95°)
OKLaboklab(54.23% 0.0422 -0.1908)
OKLCHoklch(54.23% 0.195 282.5)
XYZxyz(21.3656, 14.4781, 68.6728)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456DB #CDDB56
analogous
#568ADB #6456DB #A756DB
triadic
#6456DB #DB6456 #56DB64
tetradic
#6456DB #DB568A #CDDB56 #56DBA7
square
#6456DB #DB568A #CDDB56 #56DBA7
split-complementary
#6456DB #DBA756 #8ADB56
monochromatic
#2D2097 #3B2BC9 #6456DB #9288E6 #C1BBF0

Accessibility & contrast

On white

5.39
#6456DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6456DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456DB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456DB#FFFFFF#000000##FFFFFF
##6456DB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#2D7690
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6456db;
/* rgb */ color: rgb(100, 86, 219);
/* oklch */ color: oklch(54.2% 0.195 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a86e7',
    500: '#6456db',
    950: '#000000',
  },
}
SCSS
$custom: #6456db;
$custom-light: #9a86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6456db",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 246.316,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.19543,
    "h": 282.5
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#6456DB
secondary
#DBE0AD
accent
#E840D6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6456DB

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

Preview Lab → · Contrast checker → · Palette generator →

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