#6258EB#6258EB

#6258EB is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.214 H 279.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6258EB
RGBrgb(98, 88, 235)
HSLhsl(244, 79%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(58.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(46.41, 44.89, -73.13)
CIE-LCHlch(46.41, 85.81, 301.55°)
OKLaboklab(55.67% 0.0368 -0.2104)
OKLCHoklch(55.67% 0.214 279.9)
XYZxyz(23.5174, 15.5726, 80.3477)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258EB #E1EB58
analogous
#5897EB #6258EB #AC58EB
triadic
#6258EB #EB6258 #58EB62
tetradic
#6258EB #EB5897 #E1EB58 #58EBAC
square
#6258EB #EB5897 #E1EB58 #58EBAC
split-complementary
#6258EB #EBAC58 #97EB58
monochromatic
#2015B3 #2F21E4 #6258EB #958FF2 #C9C5F8

Accessibility & contrast

On white

5.10
#6258EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6258EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258EB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258EB#FFFFFF#000000##FFFFFF
##6258EB1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6258eb;
/* rgb */ color: rgb(98, 88, 235);
/* oklch */ color: oklch(55.7% 0.214 279.9);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6258eb',
    950: '#000000',
  },
}
SCSS
$custom: #6258eb;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6258eb",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 244.082,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.21357,
    "h": 279.9
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#6258EB
secondary
#E6EAB5
accent
#DB0BCD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258EB

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

Preview Lab → · Contrast checker → · Palette generator →

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