#6258E7#6258E7

#6258E7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.209 H 280.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6258E7
RGBrgb(98, 88, 231)
HSLhsl(244, 75%, 63%)
HSVhsv(244, 62%, 91%)
CMYKcmyk(57.6%, 61.9%, 0%, 9.4%)
CIE-LABlab(46.10, 43.65, -71.37)
CIE-LCHlch(46.10, 83.67, 301.45°)
OKLaboklab(55.35% 0.0371 -0.2052)
OKLCHoklch(55.35% 0.209 280.3)
XYZxyz(22.9460, 15.3441, 77.3384)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258E7 #DDE758
analogous
#5895E7 #6258E7 #AA58E7
triadic
#6258E7 #E76258 #58E762
tetradic
#6258E7 #E75895 #DDE758 #58E7AA
square
#6258E7 #E75895 #DDE758 #58E7AA
split-complementary
#6258E7 #E7AA58 #95E758
monochromatic
#2319AC #3022DF #6258E7 #948EEF #C7C3F6

Accessibility & contrast

On white

5.16
#6258E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6258E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258E7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258E7#FFFFFF#000000##FFFFFF
##6258E71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#0A7B97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6258e7;
/* rgb */ color: rgb(98, 88, 231);
/* oklch */ color: oklch(55.3% 0.209 280.3);
Tailwind
colors: {
  custom: {
    50: '#9b88f0',
    500: '#6258e7',
    950: '#000000',
  },
}
SCSS
$custom: #6258e7;
$custom-light: #9b88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6258e7",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 244.196,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.20854,
    "h": 280.3
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#6258E7
secondary
#E4E7B3
accent
#D70EC9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258E7

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

Preview Lab → · Contrast checker → · Palette generator →

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