#6255F9#6255F9

#6255F9 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.4% C 0.234 H 279.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6255F9
RGBrgb(98, 85, 249)
HSLhsl(245, 93%, 65%)
HSVhsv(245, 66%, 98%)
CMYKcmyk(60.6%, 65.9%, 0%, 2.4%)
CIE-LABlab(46.88, 50.92, -80.20)
CIE-LCHlch(46.88, 95.00, 302.41°)
OKLaboklab(56.36% 0.0379 -0.2311)
OKLCHoklch(56.36% 0.234 279.3)
XYZxyz(25.3789, 15.9313, 91.3418)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255F9 #ECF955
analogous
#559AF9 #6255F9 #B455F9
triadic
#6255F9 #F96255 #55F962
tetradic
#6255F9 #F9559A #ECF955 #55F9B4
square
#6255F9 #F9559A #ECF955 #55F9B4
split-complementary
#6255F9 #F9B455 #9AF955
monochromatic
#1707CC #2B1AF7 #6255F9 #9990FB #CFCBFD

Accessibility & contrast

On white

5.02
#6255F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6255F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255F9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255F9#FFFFFF#000000##FFFFFF
##6255F91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FE
Deuteranopia (green-blind)
#0069F6
Tritanopia (blue-blind)
#0080A0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6255f9;
/* rgb */ color: rgb(98, 85, 249);
/* oklch */ color: oklch(56.4% 0.234 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e86fc',
    500: '#6255f9',
    950: '#000000',
  },
}
SCSS
$custom: #6255f9;
$custom-light: #9e86fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6255f9",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 249
  },
  "hsl": {
    "h": 244.756,
    "s": 93.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.23422,
    "h": 279.3
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#6255F9
secondary
#ECF0B9
accent
#E600D3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6255F9

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

Preview Lab → · Contrast checker → · Palette generator →

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