#6255E8#6255E8

#6255E8 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.213 H 280.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6255E8
RGBrgb(98, 85, 232)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 63%, 91%)
CMYKcmyk(57.8%, 63.4%, 0%, 9%)
CIE-LABlab(45.52, 45.70, -72.88)
CIE-LCHlch(45.52, 86.03, 302.09°)
OKLaboklab(54.95% 0.0397 -0.2096)
OKLCHoklch(54.95% 0.213 280.7)
XYZxyz(22.8464, 14.9183, 78.0039)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255E8 #DBE855
analogous
#5592E8 #6255E8 #AC55E8
triadic
#6255E8 #E86255 #55E862
tetradic
#6255E8 #E85592 #DBE855 #55E8AC
square
#6255E8 #E85592 #DBE855 #55E8AC
split-complementary
#6255E8 #E8AC55 #92E855
monochromatic
#2417AB #301FE1 #6255E8 #948BEF #C6C1F7

Accessibility & contrast

On white

5.27
#6255E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6255E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255E8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255E8#FFFFFF#000000##FFFFFF
##6255E81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#077A97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6255e8;
/* rgb */ color: rgb(98, 85, 232);
/* oklch */ color: oklch(54.9% 0.213 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b86f0',
    500: '#6255e8',
    950: '#000000',
  },
}
SCSS
$custom: #6255e8;
$custom-light: #9b86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6255e8",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 245.306,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.21337,
    "h": 280.7
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#6255E8
secondary
#E3E7B1
accent
#D80DC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6255E8

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

Preview Lab → · Contrast checker → · Palette generator →

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