#6255FB#6255FB

#6255FB is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.237 H 279.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6255FB
RGBrgb(98, 85, 251)
HSLhsl(245, 95%, 66%)
HSVhsv(245, 66%, 98%)
CMYKcmyk(61%, 66.1%, 0%, 1.6%)
CIE-LABlab(47.05, 51.53, -81.05)
CIE-LCHlch(47.05, 96.04, 302.45°)
OKLaboklab(56.53% 0.0377 -0.2336)
OKLCHoklch(56.53% 0.237 279.2)
XYZxyz(25.6925, 16.0567, 92.9934)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255FB #EEFB55
analogous
#559BFB #6255FB #B555FB
triadic
#6255FB #FB6255 #55FB62
tetradic
#6255FB #FB559B #EEFB55 #55FBB5
square
#6255FB #FB559B #EEFB55 #55FBB5
split-complementary
#6255FB #FBB555 #9BFB55
monochromatic
#1505D1 #2B19FA #6255FB #9991FC #D0CDFE

Accessibility & contrast

On white

4.99
#6255FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6255FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255FB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255FB#FFFFFF#000000##FFFFFF
##6255FB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0069F8
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6255fb;
/* rgb */ color: rgb(98, 85, 251);
/* oklch */ color: oklch(56.5% 0.237 279.2);
Tailwind
colors: {
  custom: {
    50: '#9e86fe',
    500: '#6255fb',
    950: '#000000',
  },
}
SCSS
$custom: #6255fb;
$custom-light: #9e86fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6255fb",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 251
  },
  "hsl": {
    "h": 244.699,
    "s": 95.402,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.23663,
    "h": 279.2
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#6255FB
secondary
#EDF1BA
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6255FB

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

Preview Lab → · Contrast checker → · Palette generator →

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