#6255E2#6255E2

#6255E2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.206 H 281.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6255E2
RGBrgb(98, 85, 226)
HSLhsl(246, 71%, 61%)
HSVhsv(246, 62%, 89%)
CMYKcmyk(56.6%, 62.4%, 0%, 11.4%)
CIE-LABlab(45.06, 43.85, -70.25)
CIE-LCHlch(45.06, 82.81, 301.98°)
OKLaboklab(54.47% 0.0402 -0.2019)
OKLCHoklch(54.47% 0.206 281.3)
XYZxyz(22.0087, 14.5832, 73.5919)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255E2 #D5E255
analogous
#558EE2 #6255E2 #A855E2
triadic
#6255E2 #E26255 #55E262
tetradic
#6255E2 #E2558E #D5E255 #55E2A8
square
#6255E2 #E2558E #D5E255 #55E2A8
split-complementary
#6255E2 #E2A855 #8EE255
monochromatic
#281BA1 #3524D5 #6255E2 #9289EB #C3BEF4

Accessibility & contrast

On white

5.36
#6255E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6255E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255E2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255E2#FFFFFF#000000##FFFFFF
##6255E21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#1A7894
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6255e2;
/* rgb */ color: rgb(98, 85, 226);
/* oklch */ color: oklch(54.5% 0.206 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a86ec',
    500: '#6255e2',
    950: '#000000',
  },
}
SCSS
$custom: #6255e2;
$custom-light: #9a86ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6255e2",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 245.532,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.20586,
    "h": 281.3
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#6255E2
secondary
#DFE4AF
accent
#D313C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6255E2

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

Preview Lab → · Contrast checker → · Palette generator →

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