#6257E4#6257E4

#6257E4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.206 H 280.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6257E4
RGBrgb(98, 87, 228)
HSLhsl(245, 72%, 62%)
HSVhsv(245, 62%, 89%)
CMYKcmyk(57%, 61.8%, 0%, 10.6%)
CIE-LABlab(45.65, 43.31, -70.41)
CIE-LCHlch(45.65, 82.66, 301.59°)
OKLaboklab(54.95% 0.0382 -0.2024)
OKLCHoklch(54.95% 0.206 280.7)
XYZxyz(22.4444, 15.0130, 75.0988)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257E4 #D9E457
analogous
#5793E4 #6257E4 #A957E4
triadic
#6257E4 #E46257 #57E462
tetradic
#6257E4 #E45793 #D9E457 #57E4A9
square
#6257E4 #E45793 #D9E457 #57E4A9
split-complementary
#6257E4 #E4A957 #93E457
monochromatic
#261BA6 #3123DB #6257E4 #938CEC #C5C0F5

Accessibility & contrast

On white

5.25
#6257E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6257E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257E4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257E4#FFFFFF#000000##FFFFFF
##6257E41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#157A95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6257e4;
/* rgb */ color: rgb(98, 87, 228);
/* oklch */ color: oklch(54.9% 0.206 280.7);
Tailwind
colors: {
  custom: {
    50: '#9a87ed',
    500: '#6257e4',
    950: '#000000',
  },
}
SCSS
$custom: #6257e4;
$custom-light: #9a87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6257e4",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 244.681,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.20596,
    "h": 280.7
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#6257E4
secondary
#E1E6B1
accent
#D411C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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