#6258EF#6258EF

#6258EF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.219 H 279.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6258EF
RGBrgb(98, 88, 239)
HSLhsl(244, 83%, 64%)
HSVhsv(244, 63%, 94%)
CMYKcmyk(59%, 63.2%, 0%, 6.3%)
CIE-LABlab(46.72, 46.13, -74.87)
CIE-LCHlch(46.72, 87.94, 301.64°)
OKLaboklab(55.99% 0.0365 -0.2155)
OKLCHoklch(55.99% 0.219 279.6)
XYZxyz(24.1018, 15.8064, 83.4255)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258EF #E5EF58
analogous
#5899EF #6258EF #AE58EF
triadic
#6258EF #EF6258 #58EF62
tetradic
#6258EF #EF5899 #E5EF58 #58EFAE
square
#6258EF #EF5899 #E5EF58 #58EFAE
split-complementary
#6258EF #EFAE58 #99EF58
monochromatic
#1D12BB #2D20EA #6258EF #9790F4 #CBC8FA

Accessibility & contrast

On white

5.05
#6258EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6258EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258EF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258EF#FFFFFF#000000##FFFFFF
##6258EF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6258ef;
/* rgb */ color: rgb(98, 88, 239);
/* oklch */ color: oklch(56.0% 0.219 279.6);
Tailwind
colors: {
  custom: {
    50: '#9c88f5',
    500: '#6258ef',
    950: '#000000',
  },
}
SCSS
$custom: #6258ef;
$custom-light: #9c88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ef",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 243.974,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.21856,
    "h": 279.6
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#6258EF
secondary
#E8ECB7
accent
#DF07D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258EF

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

Preview Lab → · Contrast checker → · Palette generator →

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