#6258F5#6258F5

#6258F5 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.226 H 279.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6258F5
RGBrgb(98, 88, 245)
HSLhsl(244, 89%, 65%)
HSVhsv(244, 64%, 96%)
CMYKcmyk(60%, 64.1%, 0%, 3.9%)
CIE-LABlab(47.19, 47.99, -77.46)
CIE-LCHlch(47.19, 91.13, 301.78°)
OKLaboklab(56.48% 0.036 -0.2231)
OKLCHoklch(56.48% 0.226 279.2)
XYZxyz(25.0029, 16.1668, 88.1714)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258F5 #EBF558
analogous
#589CF5 #6258F5 #B158F5
triadic
#6258F5 #F56258 #58F562
tetradic
#6258F5 #F5589C #EBF558 #58F5B1
square
#6258F5 #F5589C #EBF558 #58F5B1
split-complementary
#6258F5 #F5B158 #9CF558
monochromatic
#180CC7 #2C1EF2 #6258F5 #9892F8 #CFCBFC

Accessibility & contrast

On white

4.96
#6258F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6258F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258F5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258F5#FFFFFF#000000##FFFFFF
##6258F51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6258f5;
/* rgb */ color: rgb(98, 88, 245);
/* oklch */ color: oklch(56.5% 0.226 279.2);
Tailwind
colors: {
  custom: {
    50: '#9d88fa',
    500: '#6258f5',
    950: '#000000',
  },
}
SCSS
$custom: #6258f5;
$custom-light: #9d88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6258f5",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 243.822,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.22597,
    "h": 279.2
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#6258F5
secondary
#EBEFBA
accent
#E500D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6258F5

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

Preview Lab → · Contrast checker → · Palette generator →

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