#6258CE#6258CE

#6258CE is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.176 H 282.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6258CE
RGBrgb(98, 88, 206)
HSLhsl(245, 55%, 58%)
HSVhsv(245, 57%, 81%)
CMYKcmyk(52.4%, 57.3%, 0%, 19.2%)
CIE-LABlab(44.28, 35.90, -60.09)
CIE-LCHlch(44.28, 70.00, 300.86°)
OKLaboklab(53.43% 0.0381 -0.172)
OKLCHoklch(53.43% 0.176 282.5)
XYZxyz(19.6639, 14.0312, 60.0527)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258CE #C4CE58
analogous
#5889CE #6258CE #9D58CE
triadic
#6258CE #CE6258 #58CE62
tetradic
#6258CE #CE5889 #C4CE58 #58CE9D
square
#6258CE #CE5889 #C4CE58 #58CE9D
split-complementary
#6258CE #CE9D58 #89CE58
monochromatic
#2F2785 #4035B4 #6258CE #8E87DC #BBB7EA

Accessibility & contrast

On white

5.52
#6258CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6258CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258CE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258CE#FFFFFF#000000##FFFFFF
##6258CE1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#35738A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6258ce;
/* rgb */ color: rgb(98, 88, 206);
/* oklch */ color: oklch(53.4% 0.176 282.5);
Tailwind
colors: {
  custom: {
    50: '#9787de',
    500: '#6258ce',
    950: '#000000',
  },
}
SCSS
$custom: #6258ce;
$custom-light: #9787de;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ce",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 245.085,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.17619,
    "h": 282.5
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#6258CE
secondary
#D5D9A9
accent
#DE4AD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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