#6257EF#6257EF

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

Color values

HEX#6257EF
RGBrgb(98, 87, 239)
HSLhsl(244, 83%, 64%)
HSVhsv(244, 64%, 94%)
CMYKcmyk(59%, 63.6%, 0%, 6.3%)
CIE-LABlab(46.50, 46.71, -75.23)
CIE-LCHlch(46.50, 88.55, 301.84°)
OKLaboklab(55.83% 0.0374 -0.2165)
OKLCHoklch(55.83% 0.22 279.8)
XYZxyz(24.0203, 15.6433, 83.3983)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257EF #E4EF57
analogous
#5798EF #6257EF #AE57EF
triadic
#6257EF #EF6257 #57EF62
tetradic
#6257EF #EF5798 #E4EF57 #57EFAE
square
#6257EF #EF5798 #E4EF57 #57EFAE
split-complementary
#6257EF #EFAE57 #98EF57
monochromatic
#1E12BA #2E1FEA #6257EF #968FF4 #CAC7FA

Accessibility & contrast

On white

5.09
#6257EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6257EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257EF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257EF#FFFFFF#000000##FFFFFF
##6257EF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6257ef;
/* rgb */ color: rgb(98, 87, 239);
/* oklch */ color: oklch(55.8% 0.220 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c87f5',
    500: '#6257ef',
    950: '#000000',
  },
}
SCSS
$custom: #6257ef;
$custom-light: #9c87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ef",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 244.342,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.21973,
    "h": 279.8
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#6257EF
secondary
#E8ECB6
accent
#DF06CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6257EF

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

Preview Lab → · Contrast checker → · Palette generator →

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