#6254DF#6254DF

#6254DF is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.203 H 281.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6254DF
RGBrgb(98, 84, 223)
HSLhsl(246, 68%, 60%)
HSVhsv(246, 62%, 87%)
CMYKcmyk(56.1%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.61, 43.51, -69.27)
CIE-LCHlch(44.61, 81.81, 302.13°)
OKLaboklab(54.07% 0.0413 -0.199)
OKLCHoklch(54.07% 0.203 281.7)
XYZxyz(21.5225, 14.2637, 71.4168)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6254DF #D1DF54
analogous
#548CDF #6254DF #A754DF
triadic
#6254DF #DF6254 #54DF62
tetradic
#6254DF #DF548C #D1DF54 #54DFA7
square
#6254DF #DF548C #D1DF54 #54DFA7
split-complementary
#6254DF #DFA754 #8CDF54
monochromatic
#2A1D9C #3827CF #6254DF #9188E9 #C1BBF2

Accessibility & contrast

On white

5.45
#6254DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6254DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6254DF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6254DF#FFFFFF#000000##FFFFFF
##6254DF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#207692
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6254df;
/* rgb */ color: rgb(98, 84, 223);
/* oklch */ color: oklch(54.1% 0.203 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a85ea',
    500: '#6254df',
    950: '#000000',
  },
}
SCSS
$custom: #6254df;
$custom-light: #9a85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6254df",
  "rgb": {
    "r": 98,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 246.043,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.20329,
    "h": 281.7
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#6254DF
secondary
#DDE2AD
accent
#D015BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6254DF

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

Preview Lab → · Contrast checker → · Palette generator →

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