#6258ED#6258ED

#6258ED is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.216 H 279.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6258ED
RGBrgb(98, 88, 237)
HSLhsl(244, 81%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.6%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.56, 45.51, -74.00)
CIE-LCHlch(46.56, 86.88, 301.59°)
OKLaboklab(55.83% 0.0367 -0.2129)
OKLCHoklch(55.83% 0.216 279.8)
XYZxyz(23.8080, 15.6888, 81.8780)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258ED #E3ED58
analogous
#5898ED #6258ED #AC58ED
triadic
#6258ED #ED6258 #58ED62
tetradic
#6258ED #ED5898 #E3ED58 #58EDAC
square
#6258ED #ED5898 #E3ED58 #58EDAC
split-complementary
#6258ED #EDAC58 #98ED58
monochromatic
#1F14B7 #2E21E7 #6258ED #968FF3 #CAC6F9

Accessibility & contrast

On white

5.07
#6258ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6258ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258ED#FFFFFF#000000##FFFFFF
##6258ED1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6258ed;
/* rgb */ color: rgb(98, 88, 237);
/* oklch */ color: oklch(55.8% 0.216 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c88f4',
    500: '#6258ed',
    950: '#000000',
  },
}
SCSS
$custom: #6258ed;
$custom-light: #9c88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ed",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 244.027,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.21607,
    "h": 279.8
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#6258ED
secondary
#E7EBB6
accent
#DD09CF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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