#6258EE#6258EE

#6258EE is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.217 H 279.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6258EE
RGBrgb(98, 88, 238)
HSLhsl(244, 82%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(58.8%, 63%, 0%, 6.7%)
CIE-LABlab(46.64, 45.82, -74.44)
CIE-LCHlch(46.64, 87.41, 301.62°)
OKLaboklab(55.91% 0.0366 -0.2142)
OKLCHoklch(55.91% 0.217 279.7)
XYZxyz(23.9545, 15.7475, 82.6496)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258EE #E4EE58
analogous
#5899EE #6258EE #AD58EE
triadic
#6258EE #EE6258 #58EE62
tetradic
#6258EE #EE5899 #E4EE58 #58EEAD
square
#6258EE #EE5899 #E4EE58 #58EEAD
split-complementary
#6258EE #EEAD58 #99EE58
monochromatic
#1E13B9 #2E20E8 #6258EE #9690F4 #CAC7F9

Accessibility & contrast

On white

5.06
#6258EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6258EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258EE#FFFFFF#000000##FFFFFF
##6258EE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6258ee;
/* rgb */ color: rgb(98, 88, 238);
/* oklch */ color: oklch(55.9% 0.217 279.7);
Tailwind
colors: {
  custom: {
    50: '#9c88f5',
    500: '#6258ee',
    950: '#000000',
  },
}
SCSS
$custom: #6258ee;
$custom-light: #9c88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ee",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 244,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.21731,
    "h": 279.7
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#6258EE
secondary
#E8EBB7
accent
#DE08D0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258EE

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

Preview Lab → · Contrast checker → · Palette generator →

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