#6257EB#6257EB

#6257EB is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.215 H 280.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6257EB
RGBrgb(98, 87, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(58.3%, 63%, 0%, 7.8%)
CIE-LABlab(46.19, 45.47, -73.49)
CIE-LCHlch(46.19, 86.42, 301.75°)
OKLaboklab(55.51% 0.0377 -0.2114)
OKLCHoklch(55.51% 0.215 280.1)
XYZxyz(23.4359, 15.4096, 80.3205)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257EB #E0EB57
analogous
#5796EB #6257EB #AC57EB
triadic
#6257EB #EB6257 #57EB62
tetradic
#6257EB #EB5796 #E0EB57 #57EBAC
square
#6257EB #EB5796 #E0EB57 #57EBAC
split-complementary
#6257EB #EBAC57 #96EB57
monochromatic
#2115B2 #2F20E4 #6257EB #958EF2 #C8C4F8

Accessibility & contrast

On white

5.14
#6257EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6257EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257EB#FFFFFF#000000##FFFFFF
##6257EB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6257eb;
/* rgb */ color: rgb(98, 87, 235);
/* oklch */ color: oklch(55.5% 0.215 280.1);
Tailwind
colors: {
  custom: {
    50: '#9b87f2',
    500: '#6257eb',
    950: '#000000',
  },
}
SCSS
$custom: #6257eb;
$custom-light: #9b87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6257eb",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 244.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.21475,
    "h": 280.1
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6257EB

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

Preview Lab → · Contrast checker → · Palette generator →

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