#6254F0#6254F0

#6254F0 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.5% C 0.224 H 280.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6254F0
RGBrgb(98, 84, 240)
HSLhsl(245, 84%, 64%)
HSVhsv(245, 65%, 94%)
CMYKcmyk(59.2%, 65%, 0%, 5.9%)
CIE-LABlab(45.94, 48.73, -76.70)
CIE-LCHlch(45.94, 90.87, 302.43°)
OKLaboklab(55.45% 0.0397 -0.2209)
OKLCHoklch(55.45% 0.224 280.2)
XYZxyz(23.9305, 15.2269, 84.0992)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6254F0 #E2F054
analogous
#5494F0 #6254F0 #B054F0
triadic
#6254F0 #F06254 #54F062
tetradic
#6254F0 #F05494 #E2F054 #54F0B0
square
#6254F0 #F05494 #E2F054 #54F0B0
split-complementary
#6254F0 #F0B054 #94F054
monochromatic
#1F10B9 #2E1CEB #6254F0 #968CF5 #C9C5FA

Accessibility & contrast

On white

5.19
#6254F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6254F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6254F0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6254F0#FFFFFF#000000##FFFFFF
##6254F01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6254f0;
/* rgb */ color: rgb(98, 84, 240);
/* oklch */ color: oklch(55.5% 0.224 280.2);
Tailwind
colors: {
  custom: {
    50: '#9c85f6',
    500: '#6254f0',
    950: '#000000',
  },
}
SCSS
$custom: #6254f0;
$custom-light: #9c85f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6254f0",
  "rgb": {
    "r": 98,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 245.385,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.22441,
    "h": 280.2
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#6254F0
secondary
#E7ECB4
accent
#E005CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6254F0

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

Preview Lab → · Contrast checker → · Palette generator →

#6254F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva