#6258E6#6258E6

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

Color values

HEX#6258E6
RGBrgb(98, 88, 230)
HSLhsl(244, 74%, 62%)
HSVhsv(244, 62%, 90%)
CMYKcmyk(57.4%, 61.7%, 0%, 9.8%)
CIE-LABlab(46.03, 43.34, -70.93)
CIE-LCHlch(46.03, 83.13, 301.43°)
OKLaboklab(55.27% 0.0372 -0.2039)
OKLCHoklch(55.27% 0.207 280.3)
XYZxyz(22.8052, 15.2877, 76.5967)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258E6 #DCE658
analogous
#5895E6 #6258E6 #A958E6
triadic
#6258E6 #E66258 #58E662
tetradic
#6258E6 #E65895 #DCE658 #58E6A9
square
#6258E6 #E65895 #DCE658 #58E6A9
split-complementary
#6258E6 #E6A958 #95E658
monochromatic
#2419AA #3023DE #6258E6 #948DEE #C6C2F6

Accessibility & contrast

On white

5.18
#6258E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6258E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258E6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258E6#FFFFFF#000000##FFFFFF
##6258E61.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#0E7B97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6258e6;
/* rgb */ color: rgb(98, 88, 230);
/* oklch */ color: oklch(55.3% 0.207 280.3);
Tailwind
colors: {
  custom: {
    50: '#9a88ef',
    500: '#6258e6',
    950: '#000000',
  },
}
SCSS
$custom: #6258e6;
$custom-light: #9a88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6258e6",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 244.225,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.20727,
    "h": 280.3
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#6258E6
secondary
#E3E7B3
accent
#D60FC8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258E6

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

Preview Lab → · Contrast checker → · Palette generator →

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