#6457DD#6457DD

#6457DD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.6% C 0.197 H 282.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6457DD
RGBrgb(100, 87, 221)
HSLhsl(246, 66%, 60%)
HSVhsv(246, 61%, 87%)
CMYKcmyk(54.8%, 60.6%, 0%, 13.3%)
CIE-LABlab(45.28, 41.49, -67.03)
CIE-LCHlch(45.28, 78.84, 301.76°)
OKLaboklab(54.55% 0.0411 -0.1924)
OKLCHoklch(54.55% 0.197 282.1)
XYZxyz(21.7108, 14.7448, 70.0946)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457DD #D0DD57
analogous
#578DDD #6457DD #A757DD
triadic
#6457DD #DD6457 #57DD64
tetradic
#6457DD #DD578D #D0DD57 #57DDA7
square
#6457DD #DD578D #D0DD57 #57DDA7
split-complementary
#6457DD #DDA757 #8DDD57
monochromatic
#2B1F9A #392ACD #6457DD #938AE7 #C2BDF2

Accessibility & contrast

On white

5.32
#6457DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6457DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6457DD#FFFFFF#000000##FFFFFF
##6457DD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#2A7792
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6457dd;
/* rgb */ color: rgb(100, 87, 221);
/* oklch */ color: oklch(54.6% 0.197 282.1);
Tailwind
colors: {
  custom: {
    50: '#9a87e8',
    500: '#6457dd',
    950: '#000000',
  },
}
SCSS
$custom: #6457dd;
$custom-light: #9a87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6457dd",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 245.821,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.19674,
    "h": 282.1
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#6457DD
secondary
#DDE1AE
accent
#CE17BC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6457DD

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

Preview Lab → · Contrast checker → · Palette generator →

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