#6255E9#6255E9

#6255E9 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.215 H 280.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6255E9
RGBrgb(98, 85, 233)
HSLhsl(245, 77%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(57.9%, 63.5%, 0%, 8.6%)
CIE-LABlab(45.60, 46.01, -73.32)
CIE-LCHlch(45.60, 86.56, 302.11°)
OKLaboklab(55.03% 0.0396 -0.2109)
OKLCHoklch(55.03% 0.215 280.6)
XYZxyz(22.9889, 14.9753, 78.7541)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255E9 #DCE955
analogous
#5592E9 #6255E9 #AC55E9
triadic
#6255E9 #E96255 #55E962
tetradic
#6255E9 #E95592 #DCE955 #55E9AC
square
#6255E9 #E95592 #DCE955 #55E9AC
split-complementary
#6255E9 #E9AC55 #92E955
monochromatic
#2416AD #301FE2 #6255E9 #948BF0 #C6C1F7

Accessibility & contrast

On white

5.26
#6255E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6255E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255E9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255E9#FFFFFF#000000##FFFFFF
##6255E91.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#027A97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6255e9;
/* rgb */ color: rgb(98, 85, 233);
/* oklch */ color: oklch(55.0% 0.215 280.6);
Tailwind
colors: {
  custom: {
    50: '#9b86f1',
    500: '#6255e9',
    950: '#000000',
  },
}
SCSS
$custom: #6255e9;
$custom-light: #9b86f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6255e9",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 245.27,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.21462,
    "h": 280.6
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#6255E9
secondary
#E3E8B2
accent
#D90CC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6255E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6255E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva