#6258CA#6258CA

#6258CA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.171 H 282.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6258CA
RGBrgb(98, 88, 202)
HSLhsl(245, 52%, 57%)
HSVhsv(245, 56%, 79%)
CMYKcmyk(51.5%, 56.4%, 0%, 20.8%)
CIE-LABlab(44.00, 34.67, -58.23)
CIE-LCHlch(44.00, 67.77, 300.77°)
OKLaboklab(53.14% 0.0381 -0.1666)
OKLCHoklch(53.14% 0.171 282.9)
XYZxyz(19.1842, 13.8393, 57.5261)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258CA #C0CA58
analogous
#5887CA #6258CA #9B58CA
triadic
#6258CA #CA6258 #58CA62
tetradic
#6258CA #CA5887 #C0CA58 #58CA9B
square
#6258CA #CA5887 #C0CA58 #58CA9B
split-complementary
#6258CA #CA9B58 #87CA58
monochromatic
#30287F #4237AE #6258CA #8E86D9 #B9B5E7

Accessibility & contrast

On white

5.57
#6258CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6258CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258CA#FFFFFF#000000##FFFFFF
##6258CA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#397288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6258ca;
/* rgb */ color: rgb(98, 88, 202);
/* oklch */ color: oklch(53.1% 0.171 282.9);
Tailwind
colors: {
  custom: {
    50: '#9687db',
    500: '#6258ca',
    950: '#000000',
  },
}
SCSS
$custom: #6258ca;
$custom-light: #9687db;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ca",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 245.263,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5314,
    "c": 0.17085,
    "h": 282.9
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#6258CA
secondary
#D2D6A8
accent
#DB4DCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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