#6255E5#6255E5

#6255E5 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.210 H 281.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6255E5
RGBrgb(98, 85, 229)
HSLhsl(245, 73%, 62%)
HSVhsv(245, 63%, 90%)
CMYKcmyk(57.2%, 62.9%, 0%, 10.2%)
CIE-LABlab(45.29, 44.78, -71.57)
CIE-LCHlch(45.29, 84.42, 302.03°)
OKLaboklab(54.71% 0.0399 -0.2058)
OKLCHoklch(54.71% 0.21 281)
XYZxyz(22.4239, 14.7493, 75.7788)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255E5 #D8E555
analogous
#5590E5 #6255E5 #AA55E5
triadic
#6255E5 #E56255 #55E562
tetradic
#6255E5 #E55590 #D8E555 #55E5AA
square
#6255E5 #E55590 #D8E555 #55E5AA
split-complementary
#6255E5 #E5AA55 #90E555
monochromatic
#2619A6 #3222DB #6255E5 #938AED #C4BFF5

Accessibility & contrast

On white

5.32
#6255E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6255E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255E5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255E5#FFFFFF#000000##FFFFFF
##6255E51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#137995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6255e5;
/* rgb */ color: rgb(98, 85, 229);
/* oklch */ color: oklch(54.7% 0.210 281.0);
Tailwind
colors: {
  custom: {
    50: '#9b86ee',
    500: '#6255e5',
    950: '#000000',
  },
}
SCSS
$custom: #6255e5;
$custom-light: #9b86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6255e5",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 245.417,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.20963,
    "h": 281
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#6255E5
secondary
#E1E6B0
accent
#D610C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6255E5

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

Preview Lab → · Contrast checker → · Palette generator →

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