#6257F3#6257F3

#6257F3 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.225 H 279.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6257F3
RGBrgb(98, 87, 243)
HSLhsl(244, 87%, 65%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(59.7%, 64.2%, 0%, 4.7%)
CIE-LABlab(46.82, 47.94, -76.95)
CIE-LCHlch(46.82, 90.67, 301.92°)
OKLaboklab(56.16% 0.037 -0.2216)
OKLCHoklch(56.16% 0.225 279.5)
XYZxyz(24.6177, 15.8823, 86.5450)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6257F3 #E8F357
analogous
#579AF3 #6257F3 #B057F3
triadic
#6257F3 #F36257 #57F362
tetradic
#6257F3 #F3579A #E8F357 #57F3B0
square
#6257F3 #F3579A #E8F357 #57F3B0
split-complementary
#6257F3 #F3B057 #9AF357
monochromatic
#1B0EC2 #2D1EEF #6257F3 #9790F7 #CDC9FB

Accessibility & contrast

On white

5.03
#6257F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6257F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6257F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6257F3#FFFFFF#000000##FFFFFF
##6257F31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6257f3;
/* rgb */ color: rgb(98, 87, 243);
/* oklch */ color: oklch(56.2% 0.225 279.5);
Tailwind
colors: {
  custom: {
    50: '#9d87f8',
    500: '#6257f3',
    950: '#000000',
  },
}
SCSS
$custom: #6257f3;
$custom-light: #9d87f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6257f3",
  "rgb": {
    "r": 98,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 244.231,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.22465,
    "h": 279.5
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#6257F3
secondary
#EAEEB8
accent
#E302D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6257F3

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

Preview Lab → · Contrast checker → · Palette generator →

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