#6457CB#6457CB

#6457CB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.173 H 283.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6457CB
RGBrgb(100, 87, 203)
HSLhsl(247, 53%, 57%)
HSVhsv(247, 57%, 80%)
CMYKcmyk(50.7%, 57.1%, 0%, 20.4%)
CIE-LABlab(44.00, 35.98, -58.81)
CIE-LCHlch(44.00, 68.94, 301.46°)
OKLaboklab(53.2% 0.0416 -0.1682)
OKLCHoklch(53.2% 0.173 283.9)
XYZxyz(19.4400, 13.8365, 58.1347)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6457CB #BECB57
analogous
#5784CB #6457CB #9E57CB
triadic
#6457CB #CB6457 #57CB64
tetradic
#6457CB #CB5784 #BECB57 #57CB9E
square
#6457CB #CB5784 #BECB57 #57CB9E
split-complementary
#6457CB #CB9E57 #84CB57
monochromatic
#322880 #4436AF #6457CB #8F86D9 #BAB4E8

Accessibility & contrast

On white

5.57
#6457CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6457CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6457CB#FFFFFF#000000##FFFFFF
##6457CB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#3C7288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6457cb;
/* rgb */ color: rgb(100, 87, 203);
/* oklch */ color: oklch(53.2% 0.173 283.9);
Tailwind
colors: {
  custom: {
    50: '#9887dc',
    500: '#6457cb',
    950: '#000000',
  },
}
SCSS
$custom: #6457cb;
$custom-light: #9887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6457cb",
  "rgb": {
    "r": 100,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 246.724,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.532,
    "c": 0.17328,
    "h": 283.9
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#6457CB
secondary
#D1D7A7
accent
#DC4CCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6457CB

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

Preview Lab → · Contrast checker → · Palette generator →

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