#6258AE#6258AE

#6258AE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.132 H 286.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6258AE
RGBrgb(98, 88, 174)
HSLhsl(247, 35%, 51%)
HSVhsv(247, 49%, 68%)
CMYKcmyk(43.7%, 49.4%, 0%, 31.8%)
CIE-LABlab(42.20, 26.15, -44.80)
CIE-LCHlch(42.20, 51.87, 300.27°)
OKLaboklab(51.22% 0.0366 -0.1271)
OKLCHoklch(51.22% 0.132 286)
XYZxyz(16.1645, 12.6315, 41.6226)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258AE #A4AE58
analogous
#5879AE #6258AE #8D58AE
triadic
#6258AE #AE6258 #58AE62
tetradic
#6258AE #AE5879 #A4AE58 #58AE8D
square
#6258AE #AE5879 #A4AE58 #58AE8D
split-complementary
#6258AE #AE8D58 #79AE58
monochromatic
#332E5E #4A4287 #6258AE #8981C2 #AFAAD6

Accessibility & contrast

On white

5.96
#6258AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6258AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258AE#FFFFFF#000000##FFFFFF
##6258AE1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#4B6A7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6258ae;
/* rgb */ color: rgb(98, 88, 174);
/* oklch */ color: oklch(51.2% 0.132 286.0);
Tailwind
colors: {
  custom: {
    50: '#9387c7',
    500: '#6258ae',
    950: '#000000',
  },
}
SCSS
$custom: #6258ae;
$custom-light: #9387c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6258ae",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 246.977,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.13224,
    "h": 286
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#6258AE
secondary
#BFC49E
accent
#CB5DBE
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #6258AE

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

Preview Lab → · Contrast checker → · Palette generator →

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