#6257FF#6257FF

#6257FF is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 57.2% C 0.239 H 278.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6257FF
RGBrgb(98, 87, 255)
HSLhsl(244, 100%, 67%)
HSVhsv(244, 66%, 100%)
CMYKcmyk(61.6%, 65.9%, 0%, 0%)
CIE-LABlab(47.79, 51.63, -82.06)
CIE-LCHlch(47.79, 96.95, 302.18°)
OKLaboklab(57.17% 0.0357 -0.2366)
OKLCHoklch(57.17% 0.239 278.6)
XYZxyz(26.4894, 16.6310, 96.4025)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257FF #F4FF57
analogous
#57A0FF #6257FF #B657FF
triadic
#6257FF #FF6257 #57FF62
tetradic
#6257FF #FF57A0 #F4FF57 #57FFB6
square
#6257FF #FF57A0 #F4FF57 #57FFB6
split-complementary
#6257FF #FFB657 #A0FF57
monochromatic
#0E00DC #291AFF #6257FF #9B94FF #D4D1FF

Accessibility & contrast

On white

4.85
#6257FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6257FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257FF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257FF#FFFFFF#000000##FFFFFF
##6257FF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#0083A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6257ff;
/* rgb */ color: rgb(98, 87, 255);
/* oklch */ color: oklch(57.2% 0.239 278.6);
Tailwind
colors: {
  custom: {
    50: '#9f88ff',
    500: '#6257ff',
    950: '#000000',
  },
}
SCSS
$custom: #6257ff;
$custom-light: #9f88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6257ff",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 243.929,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.23924,
    "h": 278.6
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#6257FF
secondary
#F0F4BE
accent
#E600D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6257FF

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

Preview Lab → · Contrast checker → · Palette generator →

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