#6257EE#6257EE

#6257EE is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.218 H 279.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6257EE
RGBrgb(98, 87, 238)
HSLhsl(244, 82%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.8%, 63.4%, 0%, 6.7%)
CIE-LABlab(46.42, 46.40, -74.79)
CIE-LCHlch(46.42, 88.02, 301.81°)
OKLaboklab(55.75% 0.0374 -0.2152)
OKLCHoklch(55.75% 0.218 279.9)
XYZxyz(23.8729, 15.5844, 82.6224)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257EE #E3EE57
analogous
#5797EE #6257EE #AD57EE
triadic
#6257EE #EE6257 #57EE62
tetradic
#6257EE #EE5797 #E3EE57 #57EEAD
square
#6257EE #EE5797 #E3EE57 #57EEAD
split-complementary
#6257EE #EEAD57 #97EE57
monochromatic
#1F13B8 #2E1FE8 #6257EE #968FF4 #CAC6F9

Accessibility & contrast

On white

5.10
#6257EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6257EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257EE#FFFFFF#000000##FFFFFF
##6257EE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6257ee;
/* rgb */ color: rgb(98, 87, 238);
/* oklch */ color: oklch(55.8% 0.218 279.9);
Tailwind
colors: {
  custom: {
    50: '#9c87f5',
    500: '#6257ee',
    950: '#000000',
  },
}
SCSS
$custom: #6257ee;
$custom-light: #9c87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ee",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 244.371,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.21848,
    "h": 279.9
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#6257EE
secondary
#E7EBB6
accent
#DE08CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6257EE

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

Preview Lab → · Contrast checker → · Palette generator →

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