#6457AA#6457AA

#6457AA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.128 H 288.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6457AA
RGBrgb(100, 87, 170)
HSLhsl(249, 33%, 50%)
HSVhsv(249, 49%, 67%)
CMYKcmyk(41.2%, 48.8%, 0%, 33.3%)
CIE-LABlab(41.89, 26.09, -42.93)
CIE-LCHlch(41.89, 50.24, 301.28°)
OKLaboklab(50.95% 0.0399 -0.1216)
OKLCHoklch(50.95% 0.128 288.2)
XYZxyz(15.9174, 12.4275, 39.5825)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457AA #9DAA57
analogous
#5773AA #6457AA #8E57AA
triadic
#6457AA #AA6457 #57AA64
tetradic
#6457AA #AA5773 #9DAA57 #57AA8E
square
#6457AA #AA5773 #9DAA57 #57AA8E
split-complementary
#6457AA #AA8E57 #73AA57
monochromatic
#342D59 #4C4282 #6457AA #8980BF #AFA8D3

Accessibility & contrast

On white

6.02
#6457AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6457AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6457AA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6457AA#FFFFFF#000000##FFFFFF
##6457AA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#506878
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6457aa;
/* rgb */ color: rgb(100, 87, 170);
/* oklch */ color: oklch(51.0% 0.128 288.2);
Tailwind
colors: {
  custom: {
    50: '#9486c4',
    500: '#6457aa',
    950: '#000000',
  },
}
SCSS
$custom: #6457aa;
$custom-light: #9486c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6457aa",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 249.398,
    "s": 32.806,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.12795,
    "h": 288.2
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#6457AA
secondary
#BBC19C
accent
#C95FB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #6457AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6457AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva