#6258D2#6258D2

#6258D2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.181 H 282.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6258D2
RGBrgb(98, 88, 210)
HSLhsl(245, 58%, 58%)
HSVhsv(245, 58%, 82%)
CMYKcmyk(53.3%, 58.1%, 0%, 17.6%)
CIE-LABlab(44.56, 37.14, -61.93)
CIE-LCHlch(44.56, 72.21, 300.95°)
OKLaboklab(53.73% 0.038 -0.1774)
OKLCHoklch(53.73% 0.181 282.1)
XYZxyz(20.1560, 14.2281, 62.6445)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258D2 #C8D258
analogous
#588BD2 #6258D2 #9F58D2
triadic
#6258D2 #D26258 #58D262
tetradic
#6258D2 #D2588B #C8D258 #58D29F
square
#6258D2 #D2588B #C8D258 #58D29F
split-complementary
#6258D2 #D29F58 #8BD258
monochromatic
#2E258A #3D32BB #6258D2 #8F88DF #BDB8EC

Accessibility & contrast

On white

5.46
#6258D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6258D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258D2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258D2#FFFFFF#000000##FFFFFF
##6258D21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#31758C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6258d2;
/* rgb */ color: rgb(98, 88, 210);
/* oklch */ color: oklch(53.7% 0.181 282.1);
Tailwind
colors: {
  custom: {
    50: '#9787e1',
    500: '#6258d2',
    950: '#000000',
  },
}
SCSS
$custom: #6258d2;
$custom-light: #9787e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6258d2",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 244.918,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.18148,
    "h": 282.1
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#6258D2
secondary
#D7DBAB
accent
#E147D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258D2

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

Preview Lab → · Contrast checker → · Palette generator →

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