#6257EA#6257EA

#6257EA is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.213 H 280.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6257EA
RGBrgb(98, 87, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(58.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(46.11, 45.16, -73.05)
CIE-LCHlch(46.11, 85.88, 301.73°)
OKLaboklab(55.43% 0.0378 -0.2101)
OKLCHoklch(55.43% 0.214 280.2)
XYZxyz(23.2918, 15.3520, 79.5618)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257EA #DFEA57
analogous
#5795EA #6257EA #AC57EA
triadic
#6257EA #EA6257 #57EA62
tetradic
#6257EA #EA5795 #DFEA57 #57EAAC
square
#6257EA #EA5795 #DFEA57 #57EAAC
split-complementary
#6257EA #EAAC57 #95EA57
monochromatic
#2216B1 #2F21E3 #6257EA #958DF1 #C8C4F8

Accessibility & contrast

On white

5.16
#6257EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6257EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257EA#FFFFFF#000000##FFFFFF
##6257EA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6257ea;
/* rgb */ color: rgb(98, 87, 234);
/* oklch */ color: oklch(55.4% 0.213 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b87f2',
    500: '#6257ea',
    950: '#000000',
  },
}
SCSS
$custom: #6257ea;
$custom-light: #9b87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ea",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 244.49,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.2135,
    "h": 280.2
  },
  "luminance": 0.15354
}

Semantic roles & 50–950 ramp

primary
#6257EA
secondary
#E5E9B4
accent
#DA0BCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6257EA

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

Preview Lab → · Contrast checker → · Palette generator →

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