#6258EA#6258EA

#6258EA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.212 H 280.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6258EA
RGBrgb(98, 88, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 62%, 92%)
CMYKcmyk(58.1%, 62.4%, 0%, 8.2%)
CIE-LABlab(46.33, 44.58, -72.69)
CIE-LCHlch(46.33, 85.28, 301.52°)
OKLaboklab(55.59% 0.0369 -0.2091)
OKLCHoklch(55.59% 0.212 280)
XYZxyz(23.3733, 15.5150, 79.5890)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258EA #E0EA58
analogous
#5897EA #6258EA #AB58EA
triadic
#6258EA #EA6258 #58EA62
tetradic
#6258EA #EA5897 #E0EA58 #58EAAB
square
#6258EA #EA5897 #E0EA58 #58EAAB
split-complementary
#6258EA #EAAB58 #97EA58
monochromatic
#2116B1 #2F22E3 #6258EA #958EF1 #C8C5F8

Accessibility & contrast

On white

5.12
#6258EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6258EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258EA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258EA#FFFFFF#000000##FFFFFF
##6258EA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6258ea;
/* rgb */ color: rgb(98, 88, 234);
/* oklch */ color: oklch(55.6% 0.212 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6258ea',
    950: '#000000',
  },
}
SCSS
$custom: #6258ea;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ea",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 244.11,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.21231,
    "h": 280
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#6258EA
secondary
#E5E9B5
accent
#DA0CCC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6258EA

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

Preview Lab → · Contrast checker → · Palette generator →

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