#6255FF#6255FF

#6255FF is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.9% C 0.241 H 278.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6255FF
RGBrgb(98, 85, 255)
HSLhsl(245, 100%, 67%)
HSVhsv(245, 67%, 100%)
CMYKcmyk(61.6%, 66.7%, 0%, 0%)
CIE-LABlab(47.38, 52.75, -82.73)
CIE-LCHlch(47.38, 98.12, 302.52°)
OKLaboklab(56.87% 0.0372 -0.2385)
OKLCHoklch(56.87% 0.241 278.9)
XYZxyz(26.3297, 16.3116, 96.3493)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255FF #F2FF55
analogous
#559DFF #6255FF #B755FF
triadic
#6255FF #FF6255 #55FF62
tetradic
#6255FF #FF559D #F2FF55 #55FFB7
square
#6255FF #FF559D #F2FF55 #55FFB7
split-complementary
#6255FF #FFB755 #9DFF55
monochromatic
#1100DA #2918FF #6255FF #9B92FF #D3CFFF

Accessibility & contrast

On white

4.93
#6255FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6255FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255FF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255FF#FFFFFF#000000##FFFFFF
##6255FF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6255ff;
/* rgb */ color: rgb(98, 85, 255);
/* oklch */ color: oklch(56.9% 0.241 278.9);
Tailwind
colors: {
  custom: {
    50: '#9f86ff',
    500: '#6255ff',
    950: '#000000',
  },
}
SCSS
$custom: #6255ff;
$custom-light: #9f86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6255ff",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 244.588,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.24142,
    "h": 278.9
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6255FF

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

Preview Lab → · Contrast checker → · Palette generator →

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