#6257F2#6257F2

#6257F2 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.223 H 279.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6257F2
RGBrgb(98, 87, 242)
HSLhsl(244, 86%, 65%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(59.5%, 64%, 0%, 5.1%)
CIE-LABlab(46.74, 47.63, -76.52)
CIE-LCHlch(46.74, 90.14, 301.90°)
OKLaboklab(56.08% 0.0371 -0.2203)
OKLCHoklch(56.08% 0.223 279.6)
XYZxyz(24.4671, 15.8221, 85.7518)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257F2 #E7F257
analogous
#579AF2 #6257F2 #B057F2
triadic
#6257F2 #F26257 #57F262
tetradic
#6257F2 #F2579A #E7F257 #57F2B0
square
#6257F2 #F2579A #E7F257 #57F2B0
split-complementary
#6257F2 #F2B057 #9AF257
monochromatic
#1B0FC0 #2D1EEE #6257F2 #9790F6 #CCC9FB

Accessibility & contrast

On white

5.04
#6257F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6257F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257F2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257F2#FFFFFF#000000##FFFFFF
##6257F21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#007E9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6257f2;
/* rgb */ color: rgb(98, 87, 242);
/* oklch */ color: oklch(56.1% 0.223 279.6);
Tailwind
colors: {
  custom: {
    50: '#9c87f7',
    500: '#6257f2',
    950: '#000000',
  },
}
SCSS
$custom: #6257f2;
$custom-light: #9c87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6257f2",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 244.258,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.22343,
    "h": 279.6
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#6257F2
secondary
#E9EDB8
accent
#E203D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6257F2

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

Preview Lab → · Contrast checker → · Palette generator →

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