#6257ED#6257ED

#6257ED is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.217 H 279.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6257ED
RGBrgb(98, 87, 237)
HSLhsl(244, 81%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.6%, 63.3%, 0%, 7.1%)
CIE-LABlab(46.35, 46.09, -74.36)
CIE-LCHlch(46.35, 87.48, 301.79°)
OKLaboklab(55.67% 0.0375 -0.214)
OKLCHoklch(55.67% 0.217 279.9)
XYZxyz(23.7264, 15.5258, 81.8508)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257ED #E2ED57
analogous
#5797ED #6257ED #AD57ED
triadic
#6257ED #ED6257 #57ED62
tetradic
#6257ED #ED5797 #E2ED57 #57EDAD
square
#6257ED #ED5797 #E2ED57 #57EDAD
split-complementary
#6257ED #EDAD57 #97ED57
monochromatic
#1F14B6 #2E20E7 #6257ED #968EF3 #C9C6F9

Accessibility & contrast

On white

5.12
#6257ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6257ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257ED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257ED#FFFFFF#000000##FFFFFF
##6257ED1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6257ed;
/* rgb */ color: rgb(98, 87, 237);
/* oklch */ color: oklch(55.7% 0.217 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c87f4',
    500: '#6257ed',
    950: '#000000',
  },
}
SCSS
$custom: #6257ed;
$custom-light: #9c87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ed",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 244.4,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.21725,
    "h": 279.9
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#6257ED
secondary
#E7EAB5
accent
#DD09CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6257ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6257ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva