#6258F2#6258F2

#6258F2 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.222 H 279.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6258F2
RGBrgb(98, 88, 242)
HSLhsl(244, 86%, 65%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(59.5%, 63.6%, 0%, 5.1%)
CIE-LABlab(46.95, 47.06, -76.17)
CIE-LCHlch(46.95, 89.54, 301.71°)
OKLaboklab(56.24% 0.0363 -0.2193)
OKLCHoklch(56.24% 0.222 279.4)
XYZxyz(24.5486, 15.9851, 85.7790)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258F2 #E8F258
analogous
#589BF2 #6258F2 #AF58F2
triadic
#6258F2 #F26258 #58F262
tetradic
#6258F2 #F2589B #E8F258 #58F2AF
square
#6258F2 #F2589B #E8F258 #58F2AF
split-complementary
#6258F2 #F2AF58 #9BF258
monochromatic
#1B0FC1 #2D1FEE #6258F2 #9791F6 #CDCAFB

Accessibility & contrast

On white

5.00
#6258F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6258F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258F2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258F2#FFFFFF#000000##FFFFFF
##6258F21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6258f2;
/* rgb */ color: rgb(98, 88, 242);
/* oklch */ color: oklch(56.2% 0.222 279.4);
Tailwind
colors: {
  custom: {
    50: '#9c88f7',
    500: '#6258f2',
    950: '#000000',
  },
}
SCSS
$custom: #6258f2;
$custom-light: #9c88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6258f2",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 243.896,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56235,
    "c": 0.22228,
    "h": 279.4
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#6258F2
secondary
#EAEDB8
accent
#E203D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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