#6258F8#6258F8

#6258F8 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.230 H 278.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6258F8
RGBrgb(98, 88, 248)
HSLhsl(244, 92%, 66%)
HSVhsv(244, 65%, 97%)
CMYKcmyk(60.5%, 64.5%, 0%, 2.7%)
CIE-LABlab(47.43, 48.92, -78.75)
CIE-LCHlch(47.43, 92.71, 301.85°)
OKLaboklab(56.73% 0.0357 -0.2269)
OKLCHoklch(56.73% 0.23 278.9)
XYZxyz(25.4646, 16.3515, 90.6030)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258F8 #EEF858
analogous
#589EF8 #6258F8 #B258F8
triadic
#6258F8 #F86258 #58F862
tetradic
#6258F8 #F8589E #EEF858 #58F8B2
square
#6258F8 #F8589E #EEF858 #58F8B2
split-complementary
#6258F8 #F8B258 #9EF858
monochromatic
#1509CD #2B1DF6 #6258F8 #9993FA #D0CDFD

Accessibility & contrast

On white

4.92
#6258F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6258F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258F8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258F8#FFFFFF#000000##FFFFFF
##6258F81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FD
Deuteranopia (green-blind)
#006AF5
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6258f8;
/* rgb */ color: rgb(98, 88, 248);
/* oklch */ color: oklch(56.7% 0.230 278.9);
Tailwind
colors: {
  custom: {
    50: '#9d88fc',
    500: '#6258f8',
    950: '#000000',
  },
}
SCSS
$custom: #6258f8;
$custom-light: #9d88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6258f8",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 243.75,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.22965,
    "h": 278.9
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#6258F8
secondary
#EDF0BB
accent
#E600D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6258F8

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

Preview Lab → · Contrast checker → · Palette generator →

#6258F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva