#6257E9#6257E9

#6257E9 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.212 H 280.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6257E9
RGBrgb(98, 87, 233)
HSLhsl(245, 77%, 63%)
HSVhsv(245, 63%, 91%)
CMYKcmyk(57.9%, 62.7%, 0%, 8.6%)
CIE-LABlab(46.04, 44.85, -72.61)
CIE-LCHlch(46.04, 85.35, 301.70°)
OKLaboklab(55.35% 0.0379 -0.2088)
OKLCHoklch(55.35% 0.212 280.3)
XYZxyz(23.1485, 15.2947, 78.8073)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257E9 #DEE957
analogous
#5795E9 #6257E9 #AB57E9
triadic
#6257E9 #E96257 #57E962
tetradic
#6257E9 #E95795 #DEE957 #57E9AB
square
#6257E9 #E95795 #DEE957 #57E9AB
split-complementary
#6257E9 #E9AB57 #95E957
monochromatic
#2217AF #2F21E2 #6257E9 #958DF0 #C7C3F7

Accessibility & contrast

On white

5.17
#6257E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6257E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257E9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257E9#FFFFFF#000000##FFFFFF
##6257E91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#017B98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6257e9;
/* rgb */ color: rgb(98, 87, 233);
/* oklch */ color: oklch(55.3% 0.212 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b87f1',
    500: '#6257e9',
    950: '#000000',
  },
}
SCSS
$custom: #6257e9;
$custom-light: #9b87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6257e9",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 244.521,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.21225,
    "h": 280.3
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#6257E9
secondary
#E4E8B3
accent
#D90CCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6257E9

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

Preview Lab → · Contrast checker → · Palette generator →

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